Basically, you "run as Administrator" NOTEPAD, open HOSTS, edit and save.
Reference:
http://support.microsoft.com/kb/923947
Thursday, February 23, 2012
Wednesday, February 22, 2012
How to offline a volume in Windows Server
I wanted to offline a volume so I could remove HD from virtual servers. Found this command:
mountvol E: /p
Worked well.
Reference:
http://technet.microsoft.com/en-us/library/cc772671.aspx
mountvol E: /p
Worked well.
Reference:
http://technet.microsoft.com/en-us/library/cc772671.aspx
Monday, February 6, 2012
VM will not power on
One of my VMs would not power up. The error it was giving was:
"Cannot open the disk '/vmfs/volumes/......vmdk' or one of the snapshot disks it depends on. Reason: Argument list too long."
I went into "Edit Settings" for the VM and found that hard disk 2 was referencing was not valid, an empty file. I removed the hard disk, and re-added the hard disk, but pointing to the correct VMDK file.
After that the VM started up just fine.
Reference:
http://vkarthickeyan.wordpress.com/2011/12/29/virtual-machine-not-powered-on/
"Cannot open the disk '/vmfs/volumes/......vmdk' or one of the snapshot disks it depends on. Reason: Argument list too long."
I went into "Edit Settings" for the VM and found that hard disk 2 was referencing was not valid, an empty file. I removed the hard disk, and re-added the hard disk, but pointing to the correct VMDK file.
After that the VM started up just fine.
Reference:
http://vkarthickeyan.wordpress.com/2011/12/29/virtual-machine-not-powered-on/
Friday, January 20, 2012
VMware: IP address already assigned to another adapter
To resolve this issue, make the ghosted network adapter visible in the Device Manager and uninstall the ghosted network adapter from the registry:
- Select Start > Run, type cmd.exe, and press Enter.
- At the command prompt, run this command: "set devmgr_show_nonpresent_devices=1"
- Enter Start DEVMGMT.MSC and press Enter to start Device Manager.
- Select View > Show Hidden Devices.
- Expand the Network Adapters tree (select the plus sign next to the Network adapters entry).
- Right-click the dimmed network adapter, and then click Uninstall.
- Close Device Manager.
Reference:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1179
Wednesday, December 28, 2011
Troubleshooting Vmware ESXi migration issues
While trying to install ESXi 4.0 U4 to my hosts, I started experiencing these errors:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1036083
- "A general system error occurred: Migration failed while copying data, Broken Pipe"
- "A general system error occurred: Failed to start migration pre-copy. Error 0xbad010d. The ESX hosts failed to connect over theVMotion network. "
attempting the put a host in maintenance mode. The VMs would not failover to another host.
Anyway, the fix was #2 under resolution in the link below. Basically, set Migrate.Enabled setting on all hosts to 0, then back to 1. After done on all hosts, the vMotion started working again.
Weird.
Reference:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1036083
ESXi 4.0 Tech Support Mode
To use Tech Support Mode:
Reference:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003677
- Log in to your ESXi host at the console.
- Press Alt+F1 to switch to the console window.
- Enter unsupported to start the Tech Support Mode login process. Note that no text will appear on the console window.
- Enter the password for the root user. Tech Support Mode is now active.
- Complete tasks in Tech Support Mode.
- Enter the command clear to clear the screen of any residual data from step 5. This may be required by your local security policies.
- Enter the command exit to exit Tech Support Mode.
- Press Alt+F2 to return the server to DCUI mode.
Reference:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003677
Tuesday, December 27, 2011
Deleting a Windows Service
Had a service that I could not get rid of and found that you can use SC.EXE (resource kit tool) to remove the service from the Services control panel. The EXE was removed from the file system, but it was still being referenced.
Run this below to delete the service, where service name is not the service display name, see service name in properties of the specific service.
sc.exe delete
Reference:
http://support.microsoft.com/kb/251192
Run this below to delete the service, where service name is not the service display name, see service name in properties of the specific service.
sc.exe delete
Reference:
http://support.microsoft.com/kb/251192
Labels:
Resource Kit,
Services,
Windows 2000,
Windows 2003
Subscribe to:
Posts (Atom)