Professional Documents
Culture Documents
_
Super User is a question and answer site Here's how it works:
for computer enthusiasts and power users.
Join them; it only takes a minute:
Sign up
Anybody can ask Anybody can The best answers are voted
a question answer up and rise to the top
I need to hide the D: drive for specified users on Windows 7. How can I do that?
BLOG
17 windows-7 group-policy restrictions
Stack Overflow Podcast #95 -
share improve this question Shakespearian SQL Server
edited Jan 27 '11 at 8:35 asked Jan 26 '11 at 20:35
11 nhinkle ♦ RCola
27.2k 26 113 155 869 11 24 47
...disabled access to drive D and after reboot it suppose to hide drive D for all users. But I need to hide and
disable access only for specified users – RCola Jan 26 '11 at 21:32
Why is disabling access to the drive not good enough? What is the reason for needing to hide it? – Keltari Apr
28 '13 at 5:13 Linked
Why is disabling access to the drive not good enough? What is the reason for needing to hide it? Necro 1
comment, but I am curious. – Keltari Apr 28 '13 at 5:31
How to Block access to a specific drive partition on
windows 7?
add a comment
1
5 Answers active oldest votes
Password protect a hard drive partition
2
Disable Access to Drives for Limited Users in
There is a group policy setting to disable access to certain drives, and another to hide access. You Windows
need Windows 7 Professional, Ultimate or Enterprise to do this. For other versions, scroll down to my
27 alternate solution. 0
Restrict access to hdd or partition in windows 8 to
If you only want to apply the policy to certain users, not every user, you need to configure it individually. admin only
You cannot do this by just opening gpedit.msc ; you need to add the group policy editor from the
3
MMC:
How would I specify specific start menu items for a
1. Run mmc.exe with administrative privileges certain user?
3. Select "Group Policy Object Editor" and click Add > How do I find the Hex Values that I need to use for
the thread below?
4. A wizard will appear. Click Browse , click the Users tab, and select a user or user group.
Individual users are shown, as well as two generic groups; "Administrators" and "Non- 0
Administrators". How to hide a Jungle Disk drive for a specific users
in Windows 8?
5. Click OK , then click Finish in the wizard.
6. Click OK in the "Add Snapin" dialog. 1
Disable harddrives to limit what space the OS can
7. Enter User Configuration > Administrative Templates > Windows Components > access as a security measure
Windows Explorer .
Related
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
8. Find Hide these specified drives in My Computer if you want to just hide the drives but Related
still allow direct access (e.g. from run prompt, etc.) to the drives. Find Prevent access to
drives from My Computer to hide the drive and prevent access to it.
1
9. In whichever settings dialog, choose the Enabled radio button and choose the drive(s) you want How to restrict apps for a user account?
to restrict. As of Windows 7, the only options are:
A and B drives only
3
C drive only
How to block applications from running from
D drive only
removable drive
A, B and C drives only
If you want to disable a drive other than A, B, C, or D, or if you have a version of Windows 7
Recovery Windows XP Active Desktop for
which doesn't support the group policy editor, you will need to make the changes manually in the Restricted Users
registry.
The first step is to load the registry hive of the user you are removing the drives from. The user must 2
be logged out for this to work; in fact, it's better to do a fresh restart before doing this process. Limiting user privileges in an internet cafe setting
7. Go to
HKEY_USERS\Foo\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 0
8. Create a new 32-bit DWORD value and name it NoDrives to hide the drives, or
Prevent user from accessing anything besides
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Prevent user from accessing anything besides
NoViewOnDrive to completely disable access.
certain programs?
9. The value you enter depends on the drive(s) you want to restrict, and is a bit tricky. Each letter,
starting with Z and going down to A, is represented by a 1 (disabled) or 0 (enabled). Make this
0
binary number, then convert it to hexidecimal. This is the number you put in the box. For example,
D is the fourth drive letter from the right, and everything to the left of it is a 0, so the number will be Windows 7 Drive permissions (alternative to group
b1000 , which is x08000000 , so you would enter 08000000 as the value. To disable C and D, policy) block access to internal OS Drives from
you would use b1100 , or x0c000000 . If this confused you, post in the comments for help. external OS
10. Once you've saved this value, navigate back up to HKEY_USERS , select the key you loaded, and
then click File > Unload Hive . This step is ABSOLUTELY CRITICAL!! If you don't unload Hot Network Questions
the hive, the user will be unable to login properly. How do I get the last lines of dust into the
dustpan?
11. Close the registry editor, then restart the computer. The new settings should have taken effect.
4k render settings
share improve this answer edited Apr 28 '13 at 4:31 answered Jan 27 '11 at 8:30
Claiming that the model is the first model of its
kind
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
Is Fantastic Beasts and Where to Find Them
understandable without watching any other Harry
Potter film?
You can hide any drives using Group Policy. This will set restrictions for any users on the machine. What is a term to describe something that is not
necessary to begin with, but becomes so as a
2 Click on Start > Run and type gpedit.msc, and hit enter. result of a non necessary choice?
Then navigate through: User Configuration, Administrative Templates, Windows Components, Why (point-min) is much more popular than 1?
and Windows Explorer. What is the order of events? "I had milk and
Click Hide these specified drives in My Computer. played computer games."
Dean Perry
457 1 6 16
add a comment
Right-click on said drive in Computer, choose Properties → Security. Update access as needed:
remove "Users", add "Parents", etc.
2
If your version of Windows doesn't have a Security tab, use icacls from command line:
share improve this answer edited May 15 at 13:27 answered Jan 26 '11 at 22:18
grawity
160k 20 299 385
Tried this method by removing the Users group. It enumerators through all files on the HDD to add the security
policy. In the end my Administrator account still had the "Access denied message" when it finished even
though Administrators group still had Full Access. – ShawnFeatherly May 15 at 9:30
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
I still had access to edit the security policy. It worked great after adding my individual account. –
ShawnFeatherly May 15 at 9:38
add a comment
Taken from this link (a bit too lazy to type it out myself):
ChristopheD
2,966 2 9 10
My hard drive devided into 2 logical discs: C and D. If I create new user -> it can access drive D. What do I
need to do in order to deny and hide my disc D for specified user? – RCola Jan 26 '11 at 22:04
Without drive letters or mount points, a drive is still accessible as its volume name. Even though most
programs do not support \\?\Volume{guid} syntax, all it takes is a DefineDosDevice(1, "x:",
"\\??\\Volume{guid}") to assign a session-local drive letter to it. (Btw, these are two different prefixes.
Not a typo.) – grawity Jan 26 '11 at 22:26
add a comment
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
share improve this answer answered Jan 27 '11 at 9:39
Joe Taylor
8,542 6 34 61
add a comment
Not the answer you're looking for? Browse other questions tagged windows-7 group-policy restrictions
question feed
about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback
Stack Overflow Software Database Code Review Photography Academia English Bicycles MathOverflow Philosophy Meta Stack
Engineering Administrators Language & Exchange
Server Fault Magento Science more (8) Usage Role-playing Mathematics more (3)
Unix & Linux Drupal Answers Fiction & Games Stack Apps
Super User Signal Fantasy Skeptics Cross
Ask Different SharePoint Processing Anime & Validated Area 51
Web (Apple) Graphic Mi Yodeya Manga (stats)
Applications User Experience Raspberry Pi Design (Judaism) Stack
WordPress Motor Vehicle Theoretical Overflow
Ask Ubuntu Development Mathematica Programming Movies & TV Travel Maintenance & Computer Talent
Puzzles & Code Repair Science
Webmasters Geographic Salesforce Golf Music: Practice Christianity
Game Information ExpressionEngine® & Theory more (17) Physics
Systems more (7) English
Development Answers Seasoned Language Chemistry
Electrical Advice Learners
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com
TeX - LaTeX Electrical Cryptography Advice Learners
Engineering (cooking) Biology
Japanese
Android Home Language Computer
Enthusiasts Improvement Science
Arqade
Information Personal (gaming)
Security Finance &
Money
site design / logo © 2016 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 w ith attribution required
rev 2016.11.22.4222
open in browser PRO version Are you a developer? Try out the HTML to PDF API pdfcrowd.com