Re: Pagefile.sys MISSING!
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Tue, 3 May 2005 07:54:29 +1000
This is the most curious case I have ever come across. If your
reports are correct (and I have no reason to doubt that they
are) then your system refuses you the permission to create a
paging file under the name of "C:\pagefile.sys", even though
the permissions of the root directory are set correctly.
Well, if you cannot solve a problem then you can always
try to walk around it. You have successfully created the
file c:\rubbish.sys. Let's promote it to the paging file! Do
this:
- Run regedit.exe.
- Navigate to HKLM\CurrentControlSet.
- Click F3.
- Find and replace every instance of pagefile.sys with rubbish.sys.
- Retain all the other details (e.g. turn c:\pagefile.sys 384 768
into c:\rubbish.sys 384 768).
- Reboot the machine and test your handiwork.
"ChapBell" <ChapBell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:551BA18E-E226-4F06-896C-12C9AF0BCEA9@xxxxxxxxxxxxxxxx
> Thanks for your help.
>
> 1) when I type "attrib C:\page*.*" I get a "File Not Found" reply
>
> 2) When I check the Security tab under properties in C:\ every listing
(i.e.
> administrator, Everyone, system...) all say "full control"
>
> 3) It is an NTFS system.
>
> 4) I am running Windows XP Professional SP2
>
> 5) cacls: MyFile.txt displays the following information:
> HOMECOMPUTER\Administrator:F
> BUILTIN\Administrators:F
> Everyone:F
> HOMECOMPUTER\(My Logon):F
> NT AUTHORITY\SYSTEM:F
> BUILTIN\Users:F
>
> 6) Rubbish.sys is now in my C:\ directory
>
> 7) attrib c:\nt*.* displays the following information
> A SHR C:\NTDETECT.COM
> A SHR C:\ntldr
>
> 8) cacls C:\nt*.* displays the following information
> C:\NTDETECT.COM BUILTIN\Power User:R
> BUILTIN\Administrators:F
> NT AUTHORITY\SYSTEM:F
>
> C:\ntldr BUILTIN\Power User:R
> BUILTIN\Administrators:F
> NT AUTHORITY\SYSTEM:F
>
>
> That answers all your questions, I believe. Again, Thanks for the help.
>
> ChapBell
>
> "Pegasus (MVP)" wrote:
>
> > Sorry for the typographical error.
> >
> > Getting really close now. What you report suggests that
> > a) The file c:\pagefile.sys does not exist, and
> > b) When you try to create it then you get the message "Access denied".
> >
> > Let's get a last confirmation on item a). Open a Command Prompt
> > and type this command:
> > attrib c:\page*.*
> >
> > If the response is "File not found" then item a) is correct. This leaves
> > you with item b). Next questions:
> > c) Is drive C: a FAT or an NTFS volume?
> > d) Are you running WinXP Home or Professional?
> > e) In one of my previous replies I asked you to check
> > the permissions for C:\. Did you get around to doing this?
> > f) What happens when you type these commands at the Command Prompt:
> > echo. > c:\MyFile.txt
> > cacls c:\MyFile.txt
> > echo. > c:\Rubbish.sys
> > attrib c:\nt*.*
> > cacls c:\nt*.*
> > Please report all screen output.
> >
> >
> > "ChapBell" <ChapBell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:19DFADF4-7F83-41ED-97F0-251E667261BA@xxxxxxxxxxxxxxxx
> > > When I type in CACLS C:\pagefile.sys it states "The system cannot find
the
> > > file specified".
> > >
> > > thanks for the help. I appreciate all you are trying to do.
> > >
> > > BTW, in your post you put calcs...but using the Help Command I
discovered
> > > teh cacls was what you meant. Just note this for anyone who may follow
> > this
> > > mess in at a later time.
> > >
> > > ChapBell
> > > "Pegasus (MVP)" wrote:
> > >
> > > > At long last we're getting close!
> > > >
> > > > If you cannot manually create c:\pagefile.sys then this is
> > > > a) because the file already exists and is used by Windows, or
> > > > b) because its permissions place it outside your reach.
> > > >
> > > > Now in all previous posts you said that the file does NOT exist.
> > > >
> > > > You also claimed that the NTFS permissions of C:\ allowed
> > > > everyone full access.
> > > >
> > > > Some contradictions here . . . What do you get when you
> > > > open a Command Prompt and type this command:
> > > >
> > > > calcs c:\pagefiles.sys
> > > >
> > > >
> > > > "ChapBell" <ChapBell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > > > news:12F4F489-9D4F-4848-90AC-7792BF36E48E@xxxxxxxxxxxxxxxx
> > > > > 1) I tried to manually create a Paging File. copy /y command it
gave
> > me an
> > > > > "access is Denied" statement
> > > > > 2) When I try changing the parameters to anything except NO Paging
> > File I
> > > > > get the error that my Pagefile.sys is not existent or too small.
> > (using
> > > > the
> > > > > Windows Default values)
> > > > > 3) when I did the "Dir c:\Pagefile.sys" I was told it couldn't
find
> > it.
> > > > > (using the at hh:mm parameter)
> > > > > 4) when I tell it to Del C:\pagefile.sys it tells me the file
could
> > not be
> > > > > found.
> > > > >
> > > > > Yet if I try to change the name of my hiberfil.sys to pagefile.sys
it
> > > > tells
> > > > > me a file with that name exists and it {hiberfil.sys} does not
exist.
> > > > >
> > > > > It is strange, i don't use Hibernate, but it will create a
hibernate
> > file,
> > > > > but it won't seem to create a pagefile.sys
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > "Pegasus (MVP)" wrote:
> > > > >
> > > > > > Time to run some experiments.
> > > > > >
> > > > > > 1. Manually create a paging file
> > > > > > =====================
> > > > > > - Start a Command Prompt (Start / Run / cmd {OK})
> > > > > > - Type these lines exactly like so:
> > > > > > copy con c:\PageFile.bat
> > > > > > @echo off
> > > > > > if exist c:\pagefile.sys del c:\pagefile.sys
> > > > > > copy /y c:\PageFile.bat c:\PageFile.sys >
"%temp%\PageFile.txt"
> > > > > > F6 (meaning: Press function key F6)
> > > > > > c:\PageFile.bat
> > > > > > dir c:\PageFile.sys
> > > > > > What do you see?
> > > > > >
> > > > > > 2. Let Windows use your paging file
> > > > > > ========================
> > > > > > - Set the paging file parameters in the Control Panel / System
> > > > > > to the Windows default values.
> > > > > > - Reboot.
> > > > > > What happens?
> > > > > >
> > > > > > 2. Let the system create the paging file
> > > > > > ==========================
> > > > > > - Start a Command Prompt (Start / Run / cmd {OK})
> > > > > > del c:\PageFile.sys
> > > > > > at hh:mm c:\PageFile.bat
> > > > > >
> > > > > > hh:mm should be your current time plus 2 minutes.
> > > > > > Now wait until current time plus 3 minutes, then
> > > > > > type this command:
> > > > > >
> > > > > > dir c:\PageFile.sys
> > > > > > What do you see on the screen?
> > > > > >
> > > > > > Explanation
> > > > > > ========
> > > > > > When you manually create a paging file, you confirm that
> > > > > > the file can be created in the root directory of drive C:.
> > > > > >
> > > > > > After you have set the paging file parameters, Windows is
> > > > > > supposed to use the manually created paging file. It will
> > > > > > be much larger, of course.
> > > > > >
> > > > > > By using at.exe to create the paging file, you use the
> > > > > > system account (which is the same account as the one
> > > > > > used by Windows to manage the paging file). This is
> > > > > > about as close as we can get to monitoring the process
> > > > > > of creating a paging file.
> > > > > >
> > > > > > If you get any error messages at any stage, type this:
> > > > > > notepad "%temp%\PageFile.txt" and report what you see.
> > > > > >
> > > > > >
> > > > > > "ChapBell" <ChapBell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > > > > > news:3DC60624-FBE4-45DF-8F41-808861941DBE@xxxxxxxxxxxxxxxx
> > > > > > > The permissions were at FULL CONTROL for Administrators,
Everyone,
> > > > System
> > > > > > and
> > > > > > > my own logon. Computer Owner will not set to Full Control, and
> > users
> > > > is
> > > > > > not
> > > > > > > at Full Control.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > "Pegasus (MVP)" wrote:
> > > > > > >
> > > > > > > > To see the full instructions on setting NTFS permissions,
> > > > > > > > do this:
> > > > > > > > - Click Start / Help
> > > > > > > > - Type NTFS Permissions
> > > > > > > > - Read the guides
> > > > > > > >
> > > > > > > >
> > > > > > > > "ChapBell" <ChapBell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
> > > > > > > > news:CE00D79C-A977-46FE-8136-524BAB7BC1EF@xxxxxxxxxxxxxxxx
> > > > > > > > > what are the NTFS permissions? How do I find them? I know
that
> > > > under
> > > > > > users
> > > > > > > > I
> > > > > > > > > have created the System and Administrators and Everyone
groups
> > > > with
> > > > > > all
> > > > > > > > boxes
> > > > > > > > > checked.
> > > > > > > > >
> > > > > > > > > Is there something more?
> > > > > > > > >
> > > > > > > > > I have done everything suggested under this question and
still
> > no
> > > > > > > > > pagefile.sys will form.
> > > > > > > > >
> > > > > > > > > ChapBell
> > > > > > > > >
> > > > > > > > > "Pegasus (MVP)" wrote:
> > > > > > > > >
> > > > > > > > > > I note that you did not look at several of the points I
> > raised.
> > > > > > > > > > Perhaps the most important one - NTFS permissions -
> > > > > > > > > > remains unanswered.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > "ChapBell" <ChapBell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
> > message
> > > > > > > > > >
news:F07C133D-2289-4365-A3E5-D2A883EFC59C@xxxxxxxxxxxxxxxx
> > > > > > > > > > > Thanks for the response:
> > > > > > > > > > > 1) I don't have a C:\pagefile.sys at all on my
computer. I
> > > > have it
> > > > > > set
> > > > > > > > to
> > > > > > > > > > > see every file Hidden, system..and it just isnt'
there.
> > And it
> > > > > > won't
> > > > > > > > > > create
> > > > > > > > > > > one, apparently.
> > > > > > > > > > >
> > > > > > > > > > > 2) How do I find out what drive the env. variable
%system%
> > > > point
> > > > > > to?
> > > > > > > > > > >
> > > > > > > > > > > 3) there is 27 GB of space on my drive, so plenty of
> > space.
> > > > > > > > > > >
> > > > > > > > > > > 4) Temporary page file is in Windows\System32 folder.
I
> > can
> > > > delete
> > > > > > > > that
> > > > > > > > > > but
> > > > > > > > > > > it makes no difference.
> > > > > > > > > > >
> > > > > > > > > > > 5) I have fun chkdsk. I really believe that running
Chkdsk
> > is
> > > > what
> > > > > > > > started
> > > > > > > > > > > the problem.
> > > > > > > > > > >
> > > > > > > > > > > ChapBell
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > "Pegasus (MVP)" wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > "ChapBell" <ChapBell@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in
> > > > message
> > > > > > > > > > > >
> > news:35352130-3E8B-40E5-B575-951073000947@xxxxxxxxxxxxxxxx
> > > > > > > > > > > > > I have a Dell computer. Recently, for no apparent
> > reason,
> > > > I've
> > > > > > > > begun
> > > > > > > > > > > > getting
> > > > > > > > > > > > > a "virtual Memory"error when I boot up. I have
done
> > all
> > > > the
> > > > > > things
> > > > > > > > one
> > > > > > > > > > is
> > > > > > > > > > > > > supposed to do: reset Virtual Memory
(Pagefile.sys) --
> > no
> > > > > > good. If
> > > > > > > > I
> > > > > > > > > > set
> > > > > > > > > > > > it
> > > > > > > > > > > > > to 0 then it boots regularly. If I set it to
anything
> > in
> > > > > > Custom
> > > > > > > > > > setting or
> > > > > > > > > > > > in
> > > > > > > > > > > > > System managed I get the error.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I have read most of the posts here and nothing
> > recommended
> > > > in
> > > > > > them
> > > > > > > > has
> > > > > > > > > > > > > helped. I have only one hard drive 60 GB Maxtor.
Dell
> > > > > > Optiplex
> > > > > > > > with
> > > > > > > > > > 512
> > > > > > > > > > > > MB
> > > > > > > > > > > > > memory. Drive is new.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Does anyone have anything new to suggest?
> > > > > > > > > > > >
> > > > > > > > > > > > This could happen if your drive letters are
confused.
> > Here
> > > > are
> > > > > > > > > > > > a few things I would look at:
> > > > > > > > > > > > - What drive do the env. variables %System% and
> > > > %SystemDrive%
> > > > > > point
> > > > > > > > at?
> > > > > > > > > > > > - Is it the drive you expect? (Usually drive C:)
> > > > > > > > > > > > - Is it the drive you have chosen for your paging
file?
> > > > > > > > > > > > - Is there sufficient free space on this drive? How
> > much?
> > > > > > > > > > > > - What are the NTFS permissions for the root
directory
> > of
> > > > your
> > > > > > > > system
> > > > > > > > > > drive?
> > > > > > > > > > > > - What is the location of the temporary paging file?
Is
> > it
> > > > the
> > > > > > same
> > > > > > > > as
> > > > > > > > > > the
> > > > > > > > > > > > permanent paging file?
> > > > > > > > > > > > - Did you run chkdsk to verify the integrity of your
.
- References:
- Re: Pagefile.sys MISSING!
- From: ChapBell
- Re: Pagefile.sys MISSING!
- From: Pegasus \(MVP\)
- Re: Pagefile.sys MISSING!
- From: ChapBell
- Re: Pagefile.sys MISSING!
- From: Pegasus \(MVP\)
- Re: Pagefile.sys MISSING!
- From: ChapBell
- Re: Pagefile.sys MISSING!
- Prev by Date: Re: Win XP Home - Simple File Sharing Problem
- Next by Date: Antivirus tryout attempt
- Previous by thread: Re: Pagefile.sys MISSING!
- Next by thread: Re: Pagefile.sys MISSING!
- Index(es):
Relevant Pages
|