clivebuckwheat Posted February 9, 2007 Share Posted February 9, 2007 Hi I need a command line to hide hard drives, can anyone suggest anything please. Link to comment Share on other sites More sharing options...
IcemanND Posted February 10, 2007 Share Posted February 10, 2007 This can be done using the TWEAKUI utility from the "My Computer" tab, and just deselect the tick next to drives you want to hide. But only works for the current user.All this does is change the registry value HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NODRIVES which is a 32-bit word (DWORD). The lower 26 bits of the 32-bit word correspond to drive letters A through Z. Drives are visible when set to 0 and hidden when set to 1.Drive A is represented by the rightmost position of the bitmask when viewed in binary mode.e.g. A bitmask of 00000000000000000000010101(0x7h)The bitmask above hides local drives A, C, and EDrives hidden using the NODRIVES setting are not available through Windows Explorer, under the My Computer icon, or in the File Open\Save dialog boxes of 32bit Windows applications. File Manager and the Windows NT command prompt are not affected by this registry setting.So make a 'reg add' command or a .REG file to change it. Or write an app. Link to comment Share on other sites More sharing options...
clivebuckwheat Posted February 10, 2007 Author Share Posted February 10, 2007 (edited) that works well, but is there a way to load the regkeys when seeing the Windows xp logo and status bar(ON BOOT UP), before you get to the actual GUI? Edited February 10, 2007 by clivebuckwheat Link to comment Share on other sites More sharing options...
BLeU Posted February 10, 2007 Share Posted February 10, 2007 (edited) why would you want to do that? Edited February 10, 2007 by BLeU Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now