[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 144
  • Last Modified:

Hiding Drives using the Win 95 Registry

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
DANIEL
Asked:
DANIEL
  • 3
  • 3
1 Solution
 
smeebudCommented:
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
 
DANIELAuthor Commented:
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
 
DANIELAuthor Commented:
Also what exactly does the /e and the /n represent in the Windows Explorer command line?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
smeebudCommented:
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
 
DANIELAuthor Commented:
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
 
smeebudCommented:
If you don't get back with me. :)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now