home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Applications and Operating Systems
Ask a Tech Support Question (free)!

changing SystemRoot value to move locked files

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1580
Discussions: 200,903, Posts: 2,378,871, Members: 246,272
Old September 1st, 2003, 12:27 PM   Digg it!   #1 (permalink)
Ultimate Member
 
cyphen's Avatar
 
Join Date: Dec 1999
Location: SE Michigan
Posts: 3,229
Send a message via ICQ to cyphen
changing SystemRoot value to move locked files

anyone here know how i can safely change the SystemRoot value so i can move some excluively locked files?

The scoop is this:

I have XP on my desknote which has a 40 gig drive with one partition. I want to install Linux on it, but here's the problem. I've weened the used space down to 6 GB, but there are some straggling files at the end of my drive.

This presents a problem because the Linux partition utility will only allow me to repartition the space beyond the last file, which forces me to have a 32 GB Windows partition. I want a little more than 6 GB for Linux. (yes, 32+6 = 40 when you mix the computer world with the sales world!)

I used O&O Defrag to move the stragglers, but it can't move exclusively locked files. It looks like all of these files are located in the Windows folder, so if i can copy them to a new location, and change the systemroot variable to that new name, then my problem would be solved, right? Then i could defrag and move the c:\windows folder after i restarted because those files wouldn't be locked, right? (BTW, O&O Defrag does have a way to defrag locked files on reboot, before they get locked, but it doesn't have the same optimization options available under the windows portion of it - meaning it can and did defrag those files, but didn't move them.)

So how do i change the SystemRoot variable? I can't just do it in autoexec.bat, right? (ala Set SystemRoot=c:\WinNT or whatever name i choose.)

Anybody got any ideas?
cyphen is offline   Reply With Quote
Old September 1st, 2003, 07:04 PM     #2 (permalink)
Member
 
Join Date: Nov 2001
Location: Belgium
Posts: 127
Take a look here, INUSE tool, by MS

http://download.microsoft.com/downlo...N-US/inuse.exe
NT/2K/XP

http://support.microsoft.com/?kbid=228930
__________________
Pierre.
pgriffet is offline   Reply With Quote
Old September 1st, 2003, 10:10 PM     #3 (permalink)
Ultimate Member
 
cyphen's Avatar
 
Join Date: Dec 1999
Location: SE Michigan
Posts: 3,229
Send a message via ICQ to cyphen
Thanks pgriffet. I already took care of it in the meantime though by creating a small partition, installing XP again, and booting from it to ensure the files weren't in use when running oodefrag.

But thanks for the link. I DLd it for future purposes. Of course, now that i have it, i'll never run into the need to use it!
__________________
Usually, terrible things that are done with the excuse that progress requires them are not really progress, but just terrible things.
cyphen is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2799)
Is the PSU I received dead? (10)
Install XP pro and a Vista laptop ?.. (7)
California Passes Anti-Flat-HDTV Le.. (38)
A good PSU? (10)
Foreign voltage (5)
New Computer wont recognize XP disc (7)
Fox uses old news clips to inflate .. (33)
HIS HD5770 graphic card question (10)
Dept. of HS: NSA 'Helped' Develop V.. (12)
Print spooler problem (5)
EVGA 9800 gtx help with finding a g.. (6)
Ideal cheap graph card for PC-Gamin.. (13)
Mysterious Boot manager (9)
Recent Discussions
Cloning old drive to new drive (6)
Need hard disk drivers (2)
Asus P4G8X Mobo (0)
Amptron monitor G17FP-Black (0)
windows vista security holes (0)
EVGA 9800 gtx help with finding a goo.. (6)
A good PSU? (10)
Install XP pro and a Vista laptop ?? (7)
Is the PSU I received dead? (10)
Ideal cheap graph card for PC-Gaming? (13)
HP Pavillion Laptop ze4220 won't turn.. (7)
HIS HD5770 graphic card question (10)
Dept. of HS: NSA 'Helped' Develop Vis.. (12)
Foreign voltage (5)
Convert 5 pin Keyboard to USB (11)
Print spooler problem (5)
hybernate option (2)
Steam ID's, Gamertags etc... (1)
New Computer wont recognize XP disc (7)
World's largest Monopoly Game using G.. (328)
Modern Warfare 2: Who Bought It? (60)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (28)
blender help (2)
Hard drive freezes boot (1)
Mysterious Boot manager (9)


All times are GMT -4. The time now is 01:05 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28