Solved

Hiding Drives using the Win 95 Registry

Posted on 1997-07-30
6
132 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
Comment Utility
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
Comment Utility
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
Comment Utility
Also what exactly does the /e and the /n represent in the Windows Explorer command line?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 14

Accepted Solution

by:
smeebud earned 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
If you don't get back with me. :)
0

Featured Post

Wish Marketing would stop bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

If you Lost your Administrator password for Windows XP, Vista, or 7 this CD will help you reset the password to blank so you can log in. Once in you should change that blank password to something!! Download the ISO on this page http://www.spl…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now