USMT and Pagefile.sys

  • Thread starter Thread starter Darren
  • Start date Start date
D

Darren

I have come across a problem when the pagefile.sys is on the D:\ I work in
an environment where C:\ is for the system and the app files. The D:\ is
basically a drive for storing data on it. The pagefile is on the majority
of the C:\'s where it is supose to be in our environment. But I have come
across a few where the user was running out of space on the C:\ so the tech
put the pagefile.sys on the D:\.. Well if it is on the D:\ scanstate fails.
So I put into my inf file the following:

[Copy This State]
copyfiles=D_Drive
[D_Drive]
dir=d:\*

[Copy This State]
DelFiles=PageFile_Sys
[PageFile_Sys]
DIR=D:\Pagefile.sys

My theory is that I have it copy the entire D:\ (this part on its own
already tested and works when the pagefile.sys is on the C:) So I added a
DelFiles because the doc's I read said that DelFiles will not copy to the
destination. I have tried the DelFiles a few different ways and I can not
get it not to copy pagefile.sys. Here is the error our of the log file:

Error Can't copy object d:\pagefile.sys to temporary storage
[ERROR=32
(20h)]

Info Error 32: The process cannot access the file because it is
being
used by another process.


Module Error An error occurred while saving data. Can't continue. [ERROR=32
(20h)]

Info Scanstate is exiting.

Does anyone have any suggestions??
Thanks
 
You need to open virtual memory in system properties,L.click on the
harddrive,
select,no page file,close out,restart computer.Back in xp,retry youre cmd.
 
Andrew,
Thanks for the reply.

Unfortunately that isn't a practical solution. I dealing with many
different computers and I am creating scripts for other techs to use. I
want as little user intervention as possible.

Thanks again

Andrew E. said:
You need to open virtual memory in system properties,L.click on the
harddrive,
select,no page file,close out,restart computer.Back in xp,retry youre cmd.

Darren said:
I have come across a problem when the pagefile.sys is on the D:\ I work
in
an environment where C:\ is for the system and the app files. The D:\ is
basically a drive for storing data on it. The pagefile is on the
majority
of the C:\'s where it is supose to be in our environment. But I have come
across a few where the user was running out of space on the C:\ so the
tech
put the pagefile.sys on the D:\.. Well if it is on the D:\ scanstate
fails.
So I put into my inf file the following:

[Copy This State]
copyfiles=D_Drive
[D_Drive]
dir=d:\*

[Copy This State]
DelFiles=PageFile_Sys
[PageFile_Sys]
DIR=D:\Pagefile.sys

My theory is that I have it copy the entire D:\ (this part on its own
already tested and works when the pagefile.sys is on the C:) So I added
a
DelFiles because the doc's I read said that DelFiles will not copy to the
destination. I have tried the DelFiles a few different ways and I can not
get it not to copy pagefile.sys. Here is the error our of the log file:

Error Can't copy object d:\pagefile.sys to temporary storage
[ERROR=32
(20h)]

Info Error 32: The process cannot access the file because it is
being
used by another process.


Module Error An error occurred while saving data. Can't continue.
[ERROR=32
(20h)]

Info Scanstate is exiting.

Does anyone have any suggestions??
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top