Windows Vista and Windows 7 power users have many ways to launch a command prompt or Windows command processor (cmd.exe) with administrator privileges, rights or credentials. It’s a security feature in Windows Vista and Windows 7 that comes with User Access Control (UAC) that all processes will launch in restricted mode unless users specifically accept the elevation confirmation. For command prompt, the commands may refuse to run or have access denied error. So users need to launch command prompt will full admin rights and permission state. Here’s a few ways and methods the elevated command prompt can be opened and ran as administrator like this :-
Read the rest of this entry »
There are times that it would be nice to mount a drive in Windows and set it to read only to avoid accidentally over writing data on that drive. After some Google searching this is what I found. This will only work on Windows XP sp2 and later and Windows 7. I have not tested it on Vista although I assume that it will work.
Step 1
Open regedit.exe
Start > Run Type regedit.exe
Click OK
Step 2
Navigate to the following registry key. It may not exist there for you will have to create it.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies
Step 3
Next create a new DWORD called WriteProtect and give it a value of 1
Step 4
Now plug in your USB drive and you will not be able to write to the device.
To make it writable again you will have to change the WriteProtect DWORD to 0 and unplug and replug in your device.