SteveAudus
Technical User
Dear All,
I have a batch file that is set to run each night, that clears unwanted profiles and temp file from all my workstations. But the strange thing is, when I come in, in the morning I have loads of this error from the file.
"AdjustTokenPrileges enable failed. Access is denied"
but the strange thing is if I just click on the bat file.
It will run through brilliantly with no Access errors...!!!
It is only when the scheduled batch file runs in the middle
of the night that I receive the errors.
Any Suggestions?
Steve Audus
Chaucer Community School
I have a batch file that is set to run each night, that clears unwanted profiles and temp file from all my workstations. But the strange thing is, when I come in, in the morning I have loads of this error from the file.
"AdjustTokenPrileges enable failed. Access is denied"
but the strange thing is if I just click on the bat file.
It will run through brilliantly with no Access errors...!!!
It is only when the scheduled batch file runs in the middle
of the night that I receive the errors.
Any Suggestions?
Steve Audus
Chaucer Community School