Solved

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

Posted on 2009-07-15
4
513 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I spend far too much time on the web keeping up with the news: politics, the environment, computer stuff, the Experts Exchange. It's never-ending. But many of the most informative web pages are overwhelmed with noise: scrolling banners, flashing tex…
Bada platform is becoming more and more famous this days and people talking about same. Some friends included those who have bada OS mobile asked me "what is bada?"and "what its features?". That encouraged me to research and write this article. [st…
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…
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 +…

863 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

20 Experts available now in Live!

Get 1:1 Help Now