![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-25 15:08 |
47,812 topics / 349,910 posts / today 0 new / 48,262 members |
| 其它操作系统综合讨论区 » [Sharing] Detailed Explanation of Hiding Partitions via the Registry |
| Printable Version 1,949 / 1 |
| Floor1 _abcdefg | Posted 2003-02-15 00:00 |
| 初级用户 Posts 2 Credits 110 | |
|
If you want to hide partitions in Windows, and have nothing at all to work with, then this post is exactly what you need.
Without further ado, take a look: Open the Registry Editor, and expand HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer in order. In the right-side window, create a new binary value named “NoDrives”. To make it easier to observe, first double-click it, then enter eight “0”s after “0000”. The system will automatically display them as “00 00 00 00”. This is a hexadecimal value of four bytes total (every two "0"s make one byte, and the system has already separated them). As we all know, every eight binary digits make one byte. If we convert this hexadecimal value to binary, it becomes exactly 32 zeros (four bytes): 00000000 00000000 00000000 00000000. Now let’s look at this binary value. Here, each byte has a specific meaning: the first byte represents drives A-H, the second represents I-P, the third represents Q-X, and the fourth represents Y and Z. In this way, each bit in each byte represents a drive letter. In the first byte, the 8 bits from right to left (note: not from left to right) represent A, B, C... H respectively, and so on. If you want to hide a certain drive, set the corresponding bit value to “1”. For example: to hide drive C, change the first byte to “00000100”; for drives C and D, use “00001100”. After doing this, convert each byte back into hexadecimal and fill them into this binary value in order. Note: doing this only hides its icon in Explorer. If you enter the drive letter in the address bar, it can still be accessed. |
|
| Floor2 98wangxiao | Posted 2003-02-15 00:00 |
| 中级用户 Posts 54 Credits 302 | |
|
First trick: modify the registry to hide logical drives
1. Hide the disk drive icons in “My Computer” The steps are as follows: ① In “Start” → “Run”, enter regedit to open the Registry Editor. ② Go to HKEY_CURRENT_USER\SoftWare\Microsoft\Windows\CurrentVersion\ Policies\Explorer. ③ In the right-side window, create a new binary value named “NoDrives”. The corresponding values for each drive are as follows: drive A is “01000000”, drive B is “02000000”, drive C is “04000000”, drive D is “08000000”, drive E is “10000000”, drive F is “20000000”. In other words, in the alphabetical order of drive letters (A-Z), they increase by powers of two in hexadecimal. Add together in hexadecimal the values corresponding to the disk drives you want to hide, and assign the result to “NoDrives”. This will hide the selected drives in “My Computer”. After doing this, they can still be operated in “MS-DOS mode”. So we also need to hide the disk drives in “MS-DOS mode”. 2. Hide disk drives in “MS-DOS mode” The steps are as follows: ① In “Start” → “Run”, enter regedit to open the Registry Editor. ② Go to HKEY_CURRENT_USER\SoftWare\Microsoft\Windows\CurrentVersion \Policies. ③ Under this branch, create a new primary key called “WinOldApp”, then under that key create a new DWORD value named “Disabled”, and set its value to “1”. This way, whether in “My Computer” or in “MS-DOS” mode, it can no longer be seen. So, pretty cool, right! But anyone who understands the registry won’t be fooled by this. Don’t worry, there’s one more trick. Second trick: use Partition Magic to hide hard disk drives I believe everyone is not too unfamiliar with this software. Its ability to partition hard disks without damaging data is indeed quite good. But have you ever thought of using it to hide hard disk drives? Then give it a try! ① Run PQMagic. ② Select a partition. ③ In the “Operations” menu, choose the “Hid Partition” menu item under “Advanced”, then click OK in the dialog box that appears. ④ Of the two buttons below the main window, click the “Apply” button and then restart. The drive will now be hidden. Haha! This way, other people will never think that this partition exists. And even if they do think of it, without this software, they can only stare helplessly! The last half-trick: hide “My Computer” Here, hiding “My Computer” can only count as a “half” trick, but it works even better when used together with the first two! The steps are as follows: ① In “Start” → “Run”, enter regedit to open the Registry Editor. ② Expand the registry to HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}. ③ Under this branch, create a new primary key called “ShellFolder”, then in the right-side window create a new binary value called “attributes” and change its value to “ff ff ff ff”, then close the registry. Restart the computer. When the desktop appears again, you will find that “My Computer” is gone! To restore it, just delete the “ShellFolder” primary key! At this point, you have successfully hidden your hard disk. Go ahead and try it, it works very “effectively”! |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |