?
Solved

Hiding Drives using the Win 95 Registry

Posted on 1997-07-30
6
Medium Priority
?
142 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 14

Accepted Solution

by:
smeebud earned 600 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

649 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