I have a lots of windows 2000 professional users, and I need to create an bath file run chkdsk first then defrag after that,
Does any one how to run the scripts for this.
My users they have no local administrator right, they are just regular users.
How can I create an scripts run in Slient mode, even they are not login to the system, the machine is on, but no one login yet.

Thank you for all the help


Lillian

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
0

I was just saving myself a reboot. I don't know if it matters. If you reverse them you will need to stick a power management task in the middle to initiate the reboot for chkdsk to start. Yes just paste that into the DS under a job. If you choose to chkdsk first you will need to make 3 tasks:

CHKDSK part
(Reboot)
DEFRAG Part

You may choose to run as  Hidden.

Answered 01/24/2007 by: schieb
Purple Belt

Please log in to comment
0

Schieb:

    I thought you need to do chkdsk first before you do defrag, also can I use my deployment server create  an batch file bondule like this

:: check disk
echo y|chkdsk /F /I /C

REM Prepare Disk
:: defrag c: drive
defrag.exe c:


Thanks for the help.

Answered 01/22/2007 by: LillianLian
Senior Yellow Belt

Please log in to comment
0

Here is what I use:

REM Prepare Disk
:: defrag c: drive
defrag.exe c:
:: check disk
echo y|chkdsk /F /I /C

Your deployment will vary. With Altiris I just hide the dialog. I follow that with a reboot task to start the chkdsk. If you use some other method then just script a shutdown -r -f in there at the end.

Answered 01/22/2007 by: schieb
Purple Belt

Please log in to comment
0

I'd recommend looking into the Scheduler Service. You can schedule events to occur when users are not logged on and you can specify the credentials to be used.

If you have AD, a startup script may do the trick.

Admin Script Editor has a packager that can run scripts with alternate credentials like this, but you'd need to kick it off somehow (like a logon script.) http://www.adminscripteditor.com/editor

Answered 01/21/2007 by: bkelly
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity