Computer Tips and Tricks
Get the latest posts via rss
Showing posts with label commands. Show all posts
Showing posts with label commands. Show all posts

Monday, 21 November 2011

Clear ReadOnly Disk in Windows Server 2008 R2

We recently had an issue with a hard disk on one of our servers reporting that it was set to read only. It occurred after an unknown error with the system. Windows refused to allow us to write to the disk and stated that the "Media was Right-Protected."

We also found that the read only attribute was nowhere to be found on the properties of the disk, so that we could remove it. To cut a long story short, it can only be removed using the Diskpart Utility with the following commands.

Diskpart is run from the command prompt and launched by typing "diskpart" and hitting enter.

Wednesday, 20 October 2010

Change VMWare ESX/VSphere Host VLAN ID

Recently we had an issue where we had not set the VLAN ID on 10 new VMWare VSphere servers. This resulted in us being unable to manage the VMWare hosts, the only way to resolve this was to change the VLAN ID manually on each of the hosts.

If you find yourself in this situation, you can use the following procedure to change the VLAN ID in VSphere/ESX.

Log on to a VMWare VSphere or ESX host with your ROOT account.

At the prompt enter: esxcfg-vswitch -l