Issue:
When you run "schtasks /query /s [SERVER] /v" on a Windows XP machine, the scheduled tasks utility may not list any tasks.
Symptoms:
The Windows XP schtasks.exe utility (5.1.2600.2180) does not return any output. Task execution does not appear to be impacted by this command line limitation.
Cause:
A scheduled task is configured with a command line exceeding 254 characters.
Executing the command "schtasks /query /s [SERVER]" without the verbose option returns the list of scheduled tasks, however, when the /v option is used to display the extended properties of the task no output is returned.
Workaround:
Use the Windows 2003 version of schtasks.exe (5.2.3790.0) returns task information, although tasks with command lines exceed 254 characters are truncated.
Alternatively, use Windows explorer to view the task information.
Blog Index
-
▼
2008
(40)
-
►
May
(10)
- Powershell WMI one-liners
- Installing device drivers without the device being...
- Effective permissions may be reported incorrectly
- MDT 2008 Storage Drivers - 0x0000007B error
- NVIDIA Screen resolution resets
- Mandatory ZTI advertisement does not run
- You receive message "Please wait while the domain ...
- Decrypt / Encrypt string in ROT-13
- Understanding the Most Frequently Used (MFU) regis...
- Windows XP reboots during setup
-
►
April
(24)
- Access a Network Resource Alias using Computer Acc...
- ZTI DefaultDomainName setting lost
- ZTITattoo.wsf - OSD clears TaskSequence registry e...
- PowerShell appears to "hang" when executed from a ...
- Need to move the Microsoft Deployment Distribution...
- Fix Broken Windows Scripting Host
- Set Location in "Regional and Language Options" co...
- Dial up connections do not use LAN proxy settings
- Ever needed an Automated RunAs?
- LTI deployment fails with error "A connection to t...
- ZTI PreInstall phase fails with error 214700057
- ZTI Package update leaves .$M$ file(s)
- Error creating ZTI CD when using local SMS Console...
- Various WMIC commands
- Various DSQUERY commands
- Using ImageX to compress a WIM file after modifica...
- When installing Windows XP on ESX you may receive ...
- VMWare Workstation - After WinPE deploy of sysprep...
- Pre-Stage Computer resource record in SMS
- Windows Path issues may prevent Group Policy from ...
- Hiding or Displaying Default Desktop icons
- ImportGPO.wsf may not import GPO's using a Migrati...
- Permissions for Moving a Computer Account
- Cached logons are available by default on a domain...
-
►
May
(10)
Thursday, October 2, 2008
schtasks /v verbose option may not display expected results
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment