Solved

Hiding Drives using the Win 95 Registry

Posted on 1997-07-30
6
137 Views
Last Modified: 2013-12-16
I have been able to hide all and even specific drive in my computer using policies but I have a proble  that when Explorer opens the default view shows C drive which is the drive I want to hide.  Once the view is refreshed it disappears but seeing it at all defeats the purpose of hiding it.   Does anyone know the registry setting for the default explorer view and how to change them.
0
Comment
Question by:DANIEL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 14

Expert Comment

by:smeebud
ID: 1749822
In Explorer view add /e in the shortcut command line.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.  Either delete contents or locate a value called NoDrives and set it to all "0"'s.
Of course Backup that Key 1st.

let me know if this doesn't work.  
0
 

Author Comment

by:DANIEL
ID: 1749823
Good attempt your answer briefly describes the attempts I have already made to hide the drives but didn't work in changing where explorer starts exploring from.  The setting of NoDrives determines which drives are hidden according to which of the low 26 bits (One for each drive) is on eg using the value of 4 I can selectively hide c: drive in my computer although it still comes up as the default when explorer opens which is why it needs a refresh before it disappears.  I have had a recomendation from elsewhere that there is a setting somewhere  called 'Explore From Here' does anyone know where this is.
Thank You
0
 

Author Comment

by:DANIEL
ID: 1749824
Also what exactly does the /e and the /n represent in the Windows Explorer command line?
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
LVL 14

Accepted Solution

by:
smeebud earned 200 total points
ID: 1749825
You can use the command-line switches for Windows Explorer
in shortcut links or batch files, for example, to run
Windows Explorer with a specified file selected.
Syntax

explorer [/n] [/e][,/root,object][[,/select],subobject]

Parameters

/n

Always open a new window (even if the specified folder
is already open).

/e

Use Windows Explorer view. The default is Open view.

/root,object

Specify the object in the normal namespace that will be
used as the root of this Windows Explorer Folder. The
default is to just use the normal namespace root (the desktop).

subobject

Specify the folder to receive the initial focus
unless /select is used. The default is the root.

/select

Specifies that the parent folder is opened and the
specified object is selected.

Windows Explorer Examples

To open a window rooted at \\myserver so you can
easily browse the whole server, but nothing else:

explorer /e,/root,\\myserver


To open a folder window on C:\WINDOWS (or make an open
window active) and select CALC.EXE, use:

explorer /select,c:\windows\calc.exe
-----------------
Tell me exactly what you are trying to accomplish and I believe i can find the solution.
0
 

Author Comment

by:DANIEL
ID: 1749826
I haven't tried to implement your solution as yet but from the first glance it seems pretty sound.  I'am sure I can find a work around to my problems using the switches above.
Thanks
0
 
LVL 14

Expert Comment

by:smeebud
ID: 1749827
If you don't get back with me. :)
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question