Computing.Net > Forums > Windows XP > Scheduled Task-login script???

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Scheduled Task-login script???

Reply to Message Icon

Name: dhcomputing
Date: February 6, 2004 at 06:41:21 Pacific
OS: Windows XP
CPU/Ram: 256
Comment:

I'm trying to schedule an automatic defrag using scheduled tasks on all user machines. All user machines are windows xp. I am able to create a task using "c:\windows\system32\defrag.exe c: /f" command in a login script. It creates the task ok, but it doesn't run. I think it's a permissions thing, when you look at the task on a user machine, the Run As field is blank. Is there a way to make it run as the user or the administrator? The users are local admins (they have to be because of another program we use).

Is this the best way to do this, is there a group policy that would be better?

Any suggestions would be much appreciated.

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Johnw
Date: February 6, 2004 at 15:08:27 Pacific
Reply:

See if any of these help .

Defrag , using a batch file & Task Scheduler
http://tweak.us/xp3.html
http://www.informationweek.com/story/showArticle.jhtml?articleID=15600170
http://www.informationweek.com/story/showArticle.jhtml?articleID=15600170&pgno=2
http://www.informationweek.com/story/showArticle.jhtml?articleID=15600170&pgno=3
http://www.informationweek.com/story/showArticle.jhtml?articleID=15600170&pgno=4
http://www.informationweek.com/story/showArticle.jhtml?articleID=15600170&pgno=5

============================================

Context Menu Entry To Auto Defrag Drives
http://www.thosecomputergeeks.net/ow.asp?ContextMenuEntryToAutoDefragDrives

===========================

http://www.kellys-korner-xp.com/xp_tweaks.htm

Defrag All Hard Drives as a Scheduled Task

http://www.dougknox.com/utility/scripts/defrag_all2.vbs

====================================

How to Defragment Your Disk Drive Volumes in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;314848

=========================================

Description of the New Command Line Defrag.exe Included with Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;283080
This article describes the Defrag.exe command line utility that is included with Windows XP. The Defrag.exe command line utility is specifically designed for scripting and for use by system administrators.


0
Reply to Message Icon

Related Posts

See More


Hard drive hiding 21GB Windows stopped working



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Scheduled Task-login script???

scheduled task www.computing.net/answers/windows-xp/scheduled-task/134464.html

Schedules tasks quirkiness www.computing.net/answers/windows-xp/schedules-tasks-quirkiness/120674.html

Scheduled Tasks www.computing.net/answers/windows-xp/scheduled-tasks-/21291.html