Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 08-15-2007, 05:50 AM
Temarias
Newsgroup Contributor
 
Posts: n/a
Changing The Value Of The %SystemRoot% Variable In Windows XP

Hi. I have a Windows XP machine that was upgraded from Windows 2000. When
the machine was Win2K, %systemroot% was equal to C:\winnt. When I upgraded to
Windows XP, the %systemroot% value remained the same. Is there any way I can
change the value of the %systemroot% to C:\windows without having to do a
clean install.

My first attempt to change the %systemroot% value...
I placed a harddrive I wanted to change from C:\winnt to C:\windows into
another machine as a secondary drive. I was able to change the winnt folder
to windows and the boot.ini to look for Windows XP on C:\windows. However,
when I put the drive back in its original chassis as the master drive and
booted up, I saw the Windows XP logo and the ctrl-alt-del screen, the system
allowed and accepted me to enter my username and password. The machine warned
me that my password was able to expire and then quickly logged me off. I
never saw the desktop.

Is there a place in the registry were I can change the value of
%systemroot%. I loked in
HKey_local_machine\system\currentcontrolset\contro l\session
manager\environment, but I do not see a key I can change specifically for
%systemroot%. I do not have a recovery disk for the machine. Thanks for any
help you can provided!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 08-15-2007, 05:50 AM
  #2 (permalink)  
Old 08-15-2007, 06:00 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: Changing The Value Of The %SystemRoot% Variable In Windows XP


"Temarias" <Temarias@discussions.microsoft.com> wrote in message
news:C456C517-7E08-40B8-9067-95FAD16B08BC@microsoft.com...
> Hi. I have a Windows XP machine that was upgraded from Windows 2000. When
> the machine was Win2K, %systemroot% was equal to C:\winnt. When I upgraded
> to
> Windows XP, the %systemroot% value remained the same. Is there any way I
> can
> change the value of the %systemroot% to C:\windows without having to do a
> clean install.
>
> My first attempt to change the %systemroot% value...
> I placed a harddrive I wanted to change from C:\winnt to C:\windows into
> another machine as a secondary drive. I was able to change the winnt
> folder
> to windows and the boot.ini to look for Windows XP on C:\windows. However,
> when I put the drive back in its original chassis as the master drive and
> booted up, I saw the Windows XP logo and the ctrl-alt-del screen, the
> system
> allowed and accepted me to enter my username and password. The machine
> warned
> me that my password was able to expire and then quickly logged me off. I
> never saw the desktop.
>
> Is there a place in the registry were I can change the value of
> %systemroot%. I loked in
> HKey_local_machine\system\currentcontrolset\contro l\session
> manager\environment, but I do not see a key I can change specifically for
> %systemroot%. I do not have a recovery disk for the machine. Thanks for
> any
> help you can provided!!!


Sounds like your upgrade went wrong, or that WinXP is still in
the folder c:\WinNT. The registry value is probably
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRoot


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 03-20-2008, 04:31 PM
Registered User
 
Join Date: Jul 2007
Posts: 14
nimd4 is on a distinguished road
Question Re: Changing The Value Of The %SystemRoot% Variable In Windows XP

Quote:
Originally Posted by Pegasus \(MVP\) View Post
Sounds like your upgrade went wrong, or that WinXP is still in
the folder c:\WinNT.
Um it should still be WinNT after the upgrade, no?.. Anyway,

Quote:
However, this is temporary. Permanent change to the enivornment variable can be achieved through editing the registry (not recommended for novices) and using the Windows Resource Kit applications SETX.EXE. The most common method of permanently changing the path is changing it through the Control Panel or My Computer.
Code:
http://en.wikipedia.org/wiki/Environment_variable
Also maybe try Google?.. Btw., Google was pretty quick to index this! :-S
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Vista forgets my PATH environment variable on reboot Jon Davis Windows Vista 10 09-18-2007 11:35 PM
REG_SZ vs REG_EXPAND_SZ data types for %SystemRoot% in registry FUBARinSFO Windows XP 8 06-22-2007 03:30 PM
Windows logos and NI variable engine andrew Windows Vista 0 05-15-2007 03:40 PM
Windows cannot find the file %SystemRoot%\Installer\{<Insert GUID> reply to intera_91@yahoo.co.uk Windows XP 1 05-07-2007 12:50 PM
Temp Enviroment Variable rjm2 Microsoft Office 0 05-05-2007 03:46 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 03:05 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0