Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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.
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…

728 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