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: 2595
Discussions: 203,416, Posts: 2,407,382, Members: 248,940
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,261
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,261
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? (3721)
nVIDIA GTX 260 vs ATI 5770 (5)
and she wanted to be VP? (46)
Superbowl commercials (The green po.. (15)
GPU upgrade from 8600 GT (11)
New PC Heavy Gaming Rig (8)
[F@H Chat]2/6/10 New thread for ya'.. (24)
Need for Speed Shift (7)
Best route for upgrade (several opt.. (5)
Motherboards with 2 PCIE x16 slots (8)
Graphene transistors promise 100GHz.. (7)
I want to buid a pc with this case (14)
Animated GIFs don't animate? (13)
Upgrading (5)
Recent Discussions
[F@H Chat]2/6/10 New thread for ya' s.. (24)
PLEASE MUCH NEEDED HELP! (3)
3 monitors (0)
HD5870 Question (17)
Microsoft Wireless Keyboard 3000 (13)
GPU upgrade from 8600 GT (11)
Laptop - HDTV Connection Using HDMI C.. (2)
How Good is This $450 MSI Laptop? (3)
Wireless G printer w/wrt160n (0)
SpeedFan Temp Monitor Help (3)
BSOD - IRQL not less or equal - HELP! (0)
Unable to find LAN (7)
Best route for upgrade (several optio.. (5)
should i upgrade whole pc or just vid.. (2)
WEBCAM / XP / XP64 / VISTA (7)
routers and switches OPERATING SYSTEM.. (0)
One dumb nube and a cisco 3550 (1)
nVIDIA GTX 260 vs ATI 5770 (5)
New PC Heavy Gaming Rig (8)
120mm fan on top of case??? (12)
Is my hard drive going bad? Please h.. (2)
rsync over passwordless ssh in a cron.. (4)
Wii at buy.com for $374 - Carnival Sm.. (7)
Need for Speed Shift (7)
Deleted email addy keeps bouncing bac.. (1)


All times are GMT -4. The time now is 03:28 PM.
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