If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
fsutil file in use??
Hi All,
Anyone know of a workaround for this? fsutil.exe usn readdata c:\pagefile.sys Error: The process cannot access the file because it is being used by another process. Many thanks, -T |
Ads |
#2
|
|||
|
|||
fsutil file in use??
"T" wrote in message ...
Hi All, Anyone know of a workaround for this? fsutil.exe usn readdata c:\pagefile.sys Error: The process cannot access the file because it is being used by another process. Many thanks, -T T Looks like the pagefile is being locked out. Could be a host of things and rather go back and forth on when does it occur, what makes it occur, etc. Cut to the bottom line and delete the pagefile temporarily. Go to System Properties Advanced and at the middle there is a virtual memory setting (pagefile). Click on "Change" and in the next window select the main drive (C and then set the radio button "No paging file". Reboot the repeat the above but this time click the radio button for "System managed size" and reboot. Now see if you get the same error. If so, look for some background service or other program (like Chrome) using the virtual memory and hogging it. How much memory on the system involved? -- Bob S |
#3
|
|||
|
|||
fsutil file in use??
On 2020-04-03 19:30, n/a wrote:
"T"Â* wrote in message ... Hi All, Anyone know of a workaround for this? fsutil.exe usn readdata c:\pagefile.sys Error:Â* The process cannot access the file because it is being used by another process. Many thanks, -T T Looks like the pagefile is being locked out.Â* Could be a host of things and rather go back and forth on when does it occur, what makes it occur, etc. Cut to the bottom line and delete the pagefile temporarily. Go to System Properties Advanced and at the middle there is a virtual memory setting (pagefile). Click on "Change" and in the next window select the main drive (C and then set the radio button "No paging file". Reboot the repeat the above but this time click the radio button for "System managed size" and reboot. Now see if you get the same error.Â* If so, look for some background service or other program (like Chrome) using the virtual memory and hogging it.Â* How much memory on the system involved? Gee Wiz! I am only after the file attributes. Attrib works, but gives a lot less information attrib C:\pagefile.sys A SH C:\pagefile.sys |
#4
|
|||
|
|||
fsutil file in use??
On 2020-04-03 14:57, T wrote:
Hi All, Anyone know of a workaround for this? fsutil.exe usn readdata c:\pagefile.sys Error:Â* The process cannot access the file because it is being used by another process. Many thanks, -T I put a test into the string I got back from fsutil. If there is a file lock problem, I annotate it and send attrib's output instead. I have to run attrib anyway as Raku's file exists routine does not find hidden files and I have the result kicking around for reuse anyway. I filed a bug on it with Raku. |
#5
|
|||
|
|||
fsutil file in use??
"T" wrote in message ...
Hi All, Anyone know of a workaround for this? fsutil.exe usn readdata c:\pagefile.sys Error: The process cannot access the file because it is being used by another process. Many thanks, -T T You asked about the above and then you reply about attributes and Raku....? -- Bob S |
#6
|
|||
|
|||
fsutil file in use??
On 2020-04-05 15:10, n/a wrote:
"T"Â* wrote in message ... Hi All, Anyone know of a workaround for this? fsutil.exe usn readdata c:\pagefile.sys Error:Â* The process cannot access the file because it is being used by another process. Many thanks, -T T You asked about the above and then you reply about attributes and Raku....? A little history. I wrote a Raku program called FileAttributes.pl6. It gives you full attributes of a file or directory. It can be run from the command line or from the context menu of Windows Explorer. It sets up the registry for you if you call the "--SetReg" command line switch. The heart of it is its call to fsutil.exe usn readdata filename/directoryname c:\pagefile.sys give me a bad time because fsutil finds a file lock So I fall back on call to the far less informative attrib.exe. I have to call attrib anyway because of a bug in Raku's file IO exists routine that misses hidden files, so I have the information kicking around. Here is what both situations look like: https://ibb.co/k1fpSgX What I am after is a way to get fsutil to not burp on files with locks on them. Sorry for the confusion. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|