Скрываем диск в 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].

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

  1. I’m impressed, I have to admit. Seldom do I encounter a blog that’s equally educative and entertaining, and let me tell you, you have hit the nail on the head. The issue is an issue that not enough men and women are speaking intelligently about. Now i’m very happy I stumbled across this during my search for something regarding this.

  2. Can I just state what a relief to locate somebody that in fact recognizes what theyre discussing on the web. You certainly understand how to bring a problem to light and also make it essential. Even more individuals require to read this and also recognize this side of the tale. I angle think youre not much more popular due to the fact that you certainly have the gift.

  3. There are certainly a great deal of details like that to take into consideration. That is a great indicate raise. I offer the thoughts over as general ideas but plainly there are concerns like the one you bring up where the most vital thing will certainly be working in honest good faith. I don?t understand if ideal techniques have actually arised around points like that, however I am sure that your work is plainly recognized as an up for grabs. Both children and ladies really feel the impact of just a moment?s enjoyment, for the rest of their lives.

  4. An outstanding share, I simply given this onto a coworker that was doing a little evaluation on this. And also he in fact got me breakfast because I found it for him. smile. So let me rephrase that: Thnx for the treat! However yeah Thnkx for investing the moment to discuss this, I feel strongly concerning it as well as like learning more on this topic. Ideally, as you become experience, would you mind upgrading your blog with even more details? It is extremely useful for me. Large thumb up for this article!

  5. The following time I check out a blog, I really hope that it doesn’t disappoint me as high as this one. I indicate, I know it was my choice to review, but I really thought youd have something fascinating to state. All I listen to is a lot of grumbling concerning something that you can take care of if you werent also busy searching for attention.

  6. I?m satisfied, I have to claim. Actually rarely do I come across a blog site that?s both educative and enjoyable, as well as let me inform you, you have actually hit the nail on the head. Your suggestion is outstanding; the problem is something that not nearly enough individuals are talking smartly about. I am very delighted that I stumbled across this in my search for something connecting to this.

  7. Good blog post. I find out something more tough on various blogs day-to-day. It will certainly constantly be stimulating to read material from various other writers and also practice a something from their store. I?d favor to make use of some with the material on my blog whether you don?t mind. Natually I?ll provide you a link on your internet blog site. Many thanks for sharing.

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

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