Скрываем диск в Windows Explorer

Иногда бывает нужно скрыть какой нибудь диск от пользователя. Конечно, это не решит вопрос с безопасностью, но для ленивых админов с некритичными данными способ сойдет. Делать это будем через подключение ветки реестра у пользователя. Для этого откроем редактор реестра с правами администратора и,убедившись что пользователь Vasya не в системе, кликаем по дереву HKEY_USERS. Далее нажимаем меню Файл->Загрузить куст, переходим в личный каталог пользователя(в моем случае это c:\Users\SomeUser) и открываем файл ntuser.dat. После этого редактор запросит ввести имя. Введите, например, SomeUser.

Снимок экрана 2013-03-19 в 15.06.13

После того как куст подключится переходим по следующему пути  [HKEY_USERS \ SomeUser \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer] и создаем параметр DWORD c именем NoDrives. Значения которые может принимать параметр следующие:

A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096, N: 8192, O: 16384, P: 32768, Q: 65536, R: 131072, S: 262144, T: 524288, U: 1048576, V: 2097152, W: 4194304, X: 8388608, Y: 16777216, Z: 33554432, ALL: 67108863

Если вы хотите скрыть несколько дисков то принцип следующий: нужно сложить соответствующие числа. Например, чтобы скрыть диск A и диск D необходимо присвоить значение параметру NoDrives=9, так как 1(A)+8(D)=9. Если же вы хотите скрыть диск от всех пользователей в системе, то куст можно не подключать, а просто создать параметр NoDrives по пути [HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer].

Рекомендуем почитать
git: нормализация lrlf

Если вы решили переконвертировать ваш репозиторий, убрав из файлов символы переноса каретки, то можно использовать https://rtyley.github.io/bfg-repo-cleaner/. Он работает намного быстрее, чем Читать дальше...

Screen resolution in selenium tests in teamcity

Many developers and testers try to change screen resolution in teamcity service. Default screen resolution is 800x600, but its so small. Читать дальше...

Конвертируем pfx в crt и key файл

Итак, есть виндовый pfx. Решили закрыть backend nginx-ом. Надо конвертить сертификат, чтобы nginx его понял. Открываем консоль и пишем openssl Читать дальше...

AMI Launcher for Asterisk / Elastix / FreePBX

Давно хотел написать универсальное приложение для Asterisk, которое могло бы запускать внешнее приложение после поднятия трубки оператором. "Для чего это Читать дальше...


CrowdInspect — это инструмент, призванный предупредить пользователя о наличии потенциальных вредоносных программ, которые поселились на компьютере и осуществляют взаимодействие по Читать дальше...


42 комментария к “Скрываем диск в Windows Explorer

  1. I simply want to say I am just very new to blogging and seriously liked your web site. Most likely I’m going to bookmark your site . You definitely have perfect articles and reviews. Thanks a bunch for sharing your website page.

  2. Hey would you mind stating which blog platform you’re working with? I’m planning to start my own blog soon but I’m having a tough time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something unique. P.S My apologies for being off-topic but I had to ask!

  3. Hi, I think your website might be having browser compatibility issues. When I look at your blog in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, great blog!

  4. Aw, this was a truly wonderful blog post. In idea I would like to put in creating like this additionally? requiring time and actual initiative to make an excellent article? yet what can I claim? I postpone alot as well as never seem to get something done.

  5. Can I simply claim what an alleviation to discover someone that really knows what theyre talking about on the net. You definitely know exactly how to bring an issue to light as well as make it essential. More people need to read this and also recognize this side of the story. I cant think youre not a lot more preferred due to the fact that you definitely have the present.

  6. Aw, this was an actually nice message. In idea I want to place in creating similar to this additionally? taking some time and real initiative to make a great short article? but what can I say? I postpone alot and by no means seem to get something done.

  7. Aw, this was an actually good blog post. In idea I would like to place in composing similar to this additionally? taking some time and real effort to make a great post? but what can I say? I postpone alot and never appear to get something done.

  8. I discovered your blog website on google as well as examine a few of your early posts. Continue to keep up the great operate. I just additional up your RSS feed to my MSN Information Viewers. Looking for ahead to reading more from you later on!?

  9. There are definitely a great deal of information like that to take into consideration. That is a terrific indicate bring up. I use the thoughts over as general motivation however plainly there are inquiries like the one you bring up where the most essential point will certainly be working in truthful good faith. I don?t recognize if finest techniques have actually arised around points like that, yet I make certain that your work is plainly determined as an up for grabs. Both kids and women really feel the impact of simply a moment?s satisfaction, for the rest of their lives.

  10. Right here is the right web site for anyone who wants to understand this topic. You know a whole lot its almost tough to argue with you (not that I personally will need to…HaHa). You certainly put a brand new spin on a subject which has been written about for years. Excellent stuff, just wonderful!

  11. Hi! I simply would like to give a huge thumbs up for the wonderful details you have below on this article. I will certainly be returning to your blog site for even more quickly.

  12. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four e-mails with the same comment. Is there any way you can remove people from that service? Many thanks!

  13. This is the ideal blog site for any person that wants to find out about this topic. You recognize so much its almost hard to suggest with you (not that I really would want?HaHa). You certainly placed a brand-new spin on a topic thats been written about for many years. Excellent stuff, simply wonderful!

  14. Thank you for every other magnificent article. Where else could anyone get that type of information in such a perfect method of writing? I have a presentation next week, and I am at the look for such info.

  15. Nice article. I find out something more tough on various blogs everyday. It will constantly be promoting to check out content from various other writers and also practice a little something from their store. I?d favor to use some with the content on my blog site whether you don?t mind. Natually I?ll offer you a web link on your web blog. Thanks for sharing.

  16. Wonderful message. I discover something a lot more tough on different blog sites day-to-day. It will certainly always be stimulating to review web content from various other writers and practice a little something from their shop. I?d favor to use some with the content on my blog whether you don?t mind. Natually I?ll offer you a web link on your web blog. Many thanks for sharing.

  17. Wonderful message. I discover something extra tough on different blogs everyday. It will certainly constantly be promoting to read material from various other authors and practice a something from their store. I?d choose to make use of some with the material on my blog whether you don?t mind. Natually I?ll offer you a web link on your internet blog site. Many thanks for sharing.

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *