Jump to content

Recommended Posts

Posted

After I install Windows XPsp2 I want to change the C:\Windows directory to C:\WINNT is there any utility that will change this? How can I change this directory's name? Thanks in advance. :D


Posted
After I install Windows XPsp2 I want to change the C:\Windows directory to C:\WINNT is there any utility that will change this?  How can I change this directory's name?  Thanks in advance.  :D

Hmm C:\OS :thumbup

Posted (edited)

You have to change your winnt.sif or you can do it with nLite!

winnt.sif

[Unattended]
   TargetPath=\WINDOWS

Edited by 2forza
Posted (edited)

You could try booting from a floppy (or CD) to get to a command prompt, renaming the directory and editing boot.ini to from something like this:


[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

to something like this:


[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

I can't honestly say I would expect this to work though since any other files that reference the system files (likely the registry) would still be pointing to the old location. I think the best bet, as people have already mentioned, is to change the path name during installation using WINNT.SIF.

Edited by Cartoonite
Posted

i was curious about this..so i tested on my virtual pc.

i edited the boot.ini file while the os was running. (windows to winnt)

and renaming windows to winnt in the recovery console.

this is the message i got trying to boot the os

windows could not start because the following file is missing or corrupt:

<windows root>\system32\hal.dll

Please re-install a copy of the above file.

so if you wannt it to be "winnt" then you need to call that in your winn.sif during install.

Posted

You have to edit the entire registry replacing every instance of C:\Windows with C:\WINNT

The easiest way to do this is export the Entire Registry into a REG file. Open that REG file with a good Text Editor and use the Replace function that will be found in the Edit menu.

After you have made the changes to the REG file and saved it (be sure it is still the Text file format) you can proceed with the changes.

Copy the contents of C:\Windows to a folder called C:\WINNT

Make the other changes recommend here in this Topic

Click the changed REG file to replace the Registry with the replaced values.

Restart the box.

Posted

here is what i've done so far...and this does not work...

changed boot.ini (windows to winnt)

i exported my registry, replaced all "windows" with "winnt"

imported the reg file

got a error message that stated "could not import some keys due to process in use"

rebooted with cd into recovery console

renamed windows to winnt

rebooted

i get the splash screen and thats all....(see attachment)post-58695-1118847489_thumb.jpg

i still do not recommed however you do it..windows to winnt

it needs to be done during the base install of the os

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...