Solved

Hiding Drives using the Win 95 Registry

Posted on 1997-07-30
6
136 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
NiceHashMiner... any one no how to get rid of it? 6 42
Determine exact dimensions of screen 5 46
Tweak monitor detection / screen resolution 4 34
PerfMon Report Time Out 6 29
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

825 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