Solved

How to launch folder windows in a separate process for ALL users

Posted on 2009-07-15
4
518 Views
Last Modified: 2013-12-08
Hi,
I want to set an option so that exporer launches a separate process each time a new exploer window is opened.

I found the web site: http://www.pctools.com/guides/registry/detail/769/, which says how to do it for a single user but i find that when a new user logs on, the option will not be set: the options is per user, not per machine

How do I make the setting true for all users? I considered a startup .bat that inserts the key each time a user logs on
0
Comment
Question by:Christopher Schene
[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
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
cclassen earned 500 total points
ID: 24863247
Try this.   it should loop through all the current profiles on the machine, including the loggedon user and the default user profile, and apply this setting to all.
the end result should modify not only the existing profiles, but new users as well (since default user is modified also).

save this to a batch file and run from a command prompt (preferably).


rem file loads each users registry hive and sets value.
rem after setting registry entry, hive is unloaded and file loops through next hive.
rem lastly, we set the values for the current loggedon user.
@echo off
echo Please wait while we loop through the users on the machine...
echo Error messages are normal through this operation.
rem unload any hanging loaded hive
reg unload hklm\currentuserhive.dat
reg unload hKLM\DefaultUser.dat
rem loop through each user in directory structure and call loadreg function
for /f "tokens=*" %%i in ('"dir /b "C:\documents and settings\*.""') do call :loadreg %%i
rem set defaultuser
Reg Load HKLM\DefaultUser.dat "c:\Documents and Settings\Default User\NTUSER.DAT"
set chive="hklm\DefaultUser.dat\Software\Microsoft\Windows\CurrentVersion\Explorer\
Advanced"
call :addreg
reg unload hKLM\DefaultUser.dat
rem now do the current user
set chive="hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\
Advanced"
echo ******************************
echo currently working on the logged on user:  %username%
echo ******************************
reg add %chive% /v SeperateProcess /t REG_DWORD /d "1" /f
echo .....
echo all done!  
goto :eof
:loadreg
set cuser=%1
echo ******************************
echo current working on %cuser%
echo ******************************
reg load hklm\currentuserhive.dat "c:\documents and settings\%cuser%\ntuser.dat"
set chive="hklm\currentuserhive.dat\Software\Microsoft\Windows\CurrentVersion\Explorer\
Advanced"
call :addreg
reg unload hklm\currentuserhive.dat
goto :eof
:addreg
reg add %chive% /v SeperateProcess /t REG_DWORD /d "1" /f
goto :eof
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24863380
cschene--Windows Explorer|Tools|Folder Options|General tab and check the box marked
"Open each folder in its own window".  Apply|OK
Or in the Registry Data column should read "Open Command Window Here"  (no Quotes)
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24863394
cschene--
Whoops!!  Pls delete "Or in the Registry Data column should read "Open Command Window Here"  (no Quotes)" in my post above.
0
 

Author Comment

by:Christopher Schene
ID: 24897437
cclassen,

Wow, that is an involved script. testing now.

Thanks,

Chris Schenbe
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Problem I downloaded the Microsoft Internet Explorer 9 Beta, today, to give it a test drive and maybe write a review for the site, and it failed miserably and got stuck in a crash restart loop. The error message given is as illustrated below i…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

733 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