View Full Version : defrag job task scheduler
Gunther Schwarz
December 6th 03, 01:49 PM
The log file "schedlgU.txt says:
"defrag.job" (defrag.exe)
Started 8/23/2003 2:23:01 AM
"defrag.job" (defrag.exe)
Finished 8/23/2003 2:23:02 AM
Result: The task completed with an exit code of (2).
[ ***** Most recent entry is above this line ***** ]
No way, a defrag is completed in one sec.
What's wrong?
Rick \Nutcase\ Rogers
December 6th 03, 01:49 PM
Hi,
Are you running this job on a passworded account?
--
Best of Luck,
Rick Rogers aka "Nutcase" MS-MVP - Win9x
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org
"Gunther Schwarz" > wrote in message
...
> The log file "schedlgU.txt says:
> "defrag.job" (defrag.exe)
> Started 8/23/2003 2:23:01 AM
> "defrag.job" (defrag.exe)
> Finished 8/23/2003 2:23:02 AM
> Result: The task completed with an exit code of (2).
> [ ***** Most recent entry is above this line ***** ]
>
> No way, a defrag is completed in one sec.
> What's wrong?
>
>
Gunther Schwarz
December 6th 03, 01:49 PM
No, never used a password, and didn't ask for one.
"Rick "Nutcase" Rogers" > wrote in message
...
> Hi,
>
> Are you running this job on a passworded account?
>
> --
> Best of Luck,
>
> Rick Rogers aka "Nutcase" MS-MVP - Win9x
> http://mvp.support.microsoft.com/
> Associate Expert - WinXP - Expert Zone
> www.microsoft.com/windowsxp/expertzone
> Win98 Help - www.rickrogers.org
>
> "Gunther Schwarz" > wrote in message
> ...
> > The log file "schedlgU.txt says:
> > "defrag.job" (defrag.exe)
> > Started 8/23/2003 2:23:01 AM
> > "defrag.job" (defrag.exe)
> > Finished 8/23/2003 2:23:02 AM
> > Result: The task completed with an exit code of (2).
> > [ ***** Most recent entry is above this line ***** ]
> >
> > No way, a defrag is completed in one sec.
> > What's wrong?
> >
> >
>
>
Gunther Schwarz
December 6th 03, 01:49 PM
I think I know the cause. I used the wrong command "defrag.exe", I should
have used "%SystemRoot%\System32\dfrg.msc" instead, looks funny to me,
but that shows up under system tools/defrag/properties.
"Gunther Schwarz" > wrote in message
...
>
> No, never used a password, and didn't ask for one.
>
>
> "Rick "Nutcase" Rogers" > wrote in message
> ...
> > Hi,
> >
> > Are you running this job on a passworded account?
> >
> > --
> > Best of Luck,
> >
> > Rick Rogers aka "Nutcase" MS-MVP - Win9x
> > http://mvp.support.microsoft.com/
> > Associate Expert - WinXP - Expert Zone
> > www.microsoft.com/windowsxp/expertzone
> > Win98 Help - www.rickrogers.org
> >
> > "Gunther Schwarz" > wrote in message
> > ...
> > > The log file "schedlgU.txt says:
> > > "defrag.job" (defrag.exe)
> > > Started 8/23/2003 2:23:01 AM
> > > "defrag.job" (defrag.exe)
> > > Finished 8/23/2003 2:23:02 AM
> > > Result: The task completed with an exit code of (2).
> > > [ ***** Most recent entry is above this line ***** ]
> > >
> > > No way, a defrag is completed in one sec.
> > > What's wrong?
> > >
> > >
> >
> >
>
>
Alex Nichol
December 6th 03, 01:49 PM
Gunther Schwarz wrote:
>
>No, never used a password, and didn't ask for one.
To use defrag with scheduler you *must*by default be in an account that
has a password. You can get round this in Pro by going to Admin tools -
Local Security policy and in Local Policies - Security Options, double
click in the right pane on
Accounts: Limit local account use of blank passwords
and set it to Disabled
--=20
Alex Nichol MS MVP (Windows Technologies)
Bournemouth, U.K.
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.