Solved

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

Posted on 2009-07-15
4
515 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:cschene
  • 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:cschene
ID: 24897437
cclassen,

Wow, that is an involved script. testing now.

Thanks,

Chris Schenbe
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

816 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

8 Experts available now in Live!

Get 1:1 Help Now