Link to home
Start Free TrialLog in
Avatar of cgriffith4
cgriffith4

asked on

Move pagefile.sys from C: to D:

I have a Dell windows 2000 server with a 4gb C: partition and I need the hard drive space so I moved the pagefile.sys to the D: partition and reboot the server.  When I try to delete the 1.5gb pagefile.sys from the C: partition i get the error message that says:

Cannot delete the Pagefile: There has been a sharing violation
The source or destination file may be in use
Avatar of pm2001
pm2001
Flag of Afghanistan image

Avatar of SoyYop
SoyYop

You must be sure:
a) Pagefile was moved to d (ie, "deleted" from c)
b) Restart after moving, to unock the file
e) Try again
ASKER CERTIFIED SOLUTION
Avatar of jdlambert1
jdlambert1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Funny database question ;)

jdlambert1 is correct however - you should only move the pagefile via Windows, and it will involve a restart.  If you delete the pagefile from DOS (for example), Windows will simply recreate it next time it starts.