General discussion

Locked

Rename winnt folder

By joshhansen ·
I need to rename the winnt folder to something else on an NT4 workstation. How would I do that without reinstalling NT4?

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Rename winnt folder

by Stillatit In reply to Rename winnt folder

In general this is a very bad idea. The reason is that your registry and various .ini files have literally hundreds of pointers to things which were originally installed in \winnt.

If I had to do it, I would try it this way, but no guarantees that it will work:

Export the entire registry to a text file.
Use Wordpad or word to modify all occurances of \winnt to the new name. Save the text file.

Back up your entire disk to tape. Make two separate copies.

Modify the path statement in \autoexec.bat

In the system control panel, in the Environment tab, change \winnt instances to the new directory. In the path variable, ADD the new directory name entries, do not replace the old ones.

Start regedit, and import your modified textfile. Exit regedit when done.

Shut down your system.

Remove the drive from your system and install it as the second drive on another system.

Boot the second system.
On your old drive do the following, making sure your changes ARE on the old drive.
Edit \boot.ini and change any \winnt instances.
Using Word or similar, search the \winnt directory and all of its subdirectories on the old drive for any file containing the string "\winnt" and change the contents of that file to reflect the new directory. There should be a bunch of .ini files.
Rename the \winnt directory.
Shut down the second system.

Re-install the drive in your original system and boot it up.

In the system control panel, in the Environment tab, change or remove any \winnt instances that remain.

Good luck.

Collapse -

Rename winnt folder

by joshhansen In reply to Rename winnt folder

Poster rated this answer

Collapse -

Rename winnt folder

by Kirill Lozovatsky In reply to Rename winnt folder

I thik the procedure will be looks like moving NT system to another drive, thats why I think the following URL will be useful:
http://www.win2000mag.com/Articles/Index.cfm?ArticleID=2982

Article: Q: I have a new hard disk. How do I move Windows NT to this new disk?

Collapse -

Rename winnt folder

by joshhansen In reply to Rename winnt folder

Poster rated this answer

Collapse -

Rename winnt folder

by Shiltowake In reply to Rename winnt folder

Not many of us have second disks available or the time to be swapping things about, and especially the time to manually configure registries.

If your in the same boat, my suggestion is if you dont have many other applications that will need to be reinstalled as well, then just go ahead and reinstall. Backup the data files first of course but it may be the quickest answer and the best way to make sure there are no conflicts in the future.

Collapse -

Rename winnt folder

by joshhansen In reply to Rename winnt folder

Poster rated this answer

Collapse -

Rename winnt folder

by joshhansen In reply to Rename winnt folder

This question was closed by the author

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums