Sunday, January 27, 2013

SCRIPT Hidden Drive

http://www.pctools.com/guides/scripting/id/2/
This Shoud be savex as a .batt

@echo off<br />
 echo MENU<br />
 color 2<br />
 echo 1.Drives Inaccessible<br />
 echo 2.Hiding Drives<br />
 echo 3.Turn off autoplay<br />
 echo 3.Turn off autoupdates<br />
 echo 5.Restore all to default<br />
 set /p choice=Enter Your Choice 1, 2, 3, 4, 5:<br />
 if %choice%==1 goto 1<br />
 if %choice%==2 goto 2<br />
 if %choice%==3 goto 3<br />
 if %choice%==4 goto 4<br />
 if %choice%==5 goto 5<br />
 :1<br />
 reg add HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v NoViewOnDrive /t REG_DWORD /d 67108863 /f<br />
 taskkill /f /im explorer.exe<br />
 start explorer.exe<br />
 exit<br />
 :2<br />
 reg add HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v NoDrives /t REG_DWORD /d 67108863 /f<br />
 taskkill /f /im explorer.exe<br />
 start explorer.exe<br />
 exit<br />
 :3<br />
 reg add HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v NoDriveTypeAutoRun /t REG_DWORD /d 181 /f<br />
 taskkill /f /im explorer.exe<br />
 start explorer.exe<br />
 exit<br />
 :4<br />
 reg add HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v NoAutoUpdate /t REG_DWORD /d 1 /f<br />
 taskkill /f /im explorer.exe<br />
 start explorer.exe<br />
 exit<br />
 :5<br />
 reg delete HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v NoDrives /f<br />
 reg delete HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v NoViewOnDrive /f<br />
 reg delete HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v NoDriveTypeAutoRun /f<br />
 reg delete HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v NoAutoUpdate /f<br />
 taskkill /f /im explorer.exe<br />
 start explorer.exe





THIS CONTAII.S THE  assig.ed numbsrs with drives

------
http://www.dfinews.com/toolkit

the Windows Registry with Windows-R, regedit and enter.Now locate the key

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

and create
a new DWORD (32-bit) Value by right-clicking in the right pane.

Name the new parameter NoDrives and double-click it afterwards. Switch to decimal and enter the following values to hide the


specified drive:A: 1B: 2C: 4D: 8E: 16F: 32G: 64H: 128I: 256J: 512K: 1024L: 2048M: 4096N: 8192O: 16384P: 32768Q: 65536R: 131072S: 262144T: 524288U: 1048576V: 2097152W: 4194304X: 8388608Y: 16777216Z: 33554432ALL: 67108863But what if you want to hide more than one drive letter in Windows? Simple! Just add the values of the drive letters that you want to hide. If you want to hide the drive letters A,B,D and H you would enter 139 (1+2+8+128) as the Decimal value.

No comments:

Post a Comment