Solved

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

Posted on 2009-07-15
4
510 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
cclassen,

Wow, that is an involved script. testing now.

Thanks,

Chris Schenbe
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
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.

762 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

6 Experts available now in Live!

Get 1:1 Help Now