Monthly Archives: June 2012

Windows cannot access the specified device, path, or file.

If you try to run an executable and you receive this dialog box:
"Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."

Here is the fix. Right click on the executable, and click on the Unblock button.

Done! 🙂

VMWare Lockdown Mode

Here is how to enable it:

To enable Lockdown mode via console:
Log in directly to the ESXi host.
Open DCUI on the host.
Press F2 for Initial Setup.
Toggle the Configure Lockdown Mode setting.

To enable Lockdown mode via vSphere:
Log in to vSphere
Click on the Home->Inventory->Hosts and Clusters
Click on the host you want to manage
Click on the Configuration manager
Click on "Security Profile" on the left side
Click the Edit... link next to Lockdown Mode
Enable it!

Preparing Server 2008 R2 for vCenter Server 5

If you are installing VMware vCenter5 and you notice that their are no connectors for connecting to a remote msSQL database, here is how to add a new ODBC connector to get things up and running.

  1. 1. Install .NET framework tools 3.5 (Can be done by adding a Feature and in the Server Manager of Server 2008 R2)
  2. Download and install the Microsoft SQL Server Native Client for Server 2008
    1. http://go.microsoft.com/fwlink/?LinkId=123718&clcid=0x409
  3. Create a new ODBC connection
    1. To do this, try installing the ODBC connection through the control panel by going to: Control Panel ->Administrative Tools -> Data Sources (ODBC)
      1. NOTE: If you notice later on that vServer doesn't find an ODBC source, try opening the configuration manager with an elevated command prompt and type in
        1. c:\Windows\SysWOW64\odbcad32.exe
  4. Click on the System DSN tab
  5. Click Add
  6. Click on SQL Server Native Client 10.0
  7. Click Finish
  8. Type in the name, description, and server to connect to.
  9. Click Next
  10. Fill out how you want to authenticate
  11. Click Next
  12. Change the default database to whateveryourdatabaseiscalled
  13. Click Next
  14. Click Next
  15. Finish
  16. Test Data Source...

--You should see "TESTS COMPLETED SUCCESSFULLY!"

Enabling remote SQL connections for Server 2008

Here is how to enable remote SQL connections for Server 2008:

Open up SQL Server Configuration Manager

Click on SQL Server Network Configuration
--Enable Named Pipes
--Enable TCP/IP

Protocols for SQLEXPRESS (OR YOUR INSTANCE)
-Double click on TCP/IP

Find the IP addresses with your IP and IP of 127.0.0.1
--TCP Dyanmic Ports (Remove the 0 and leave empty)
--TCP Port 1433

Open up Windows Firewall with Advanced Security
-Click on Inbound Rules
--Create the following rules

SQL
1433 - TCP - Check if you want Domain, Private, and Public Access

SQL
1434 - UDP - Check if you want Domain, Private, and Public Access

Transact-SQL debugger (Used for Visual Studio)
135 - TCP - Check if you want Domain, Private, and Public Access