Microsoft Knowledge Base Email Alertz

(886121) - Explains that the default values are used for a problem PatchInstall.exe parameter and all the parameters that follow it. To work around this problem, correct the problem characters.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 886121 - Last Review: October 27, 2006 - Revision: 1.2

The PatchInstall.exe command behaves unexpectedly when it uses a parameter that contains a character that is not valid in Systems Management Server 2003

SYMPTOMS

When you use the Distribute Software Updates Wizard to create a software update in Microsoft Systems Management Server (SMS) 2003, if the PatchInstall.exe command uses any parameter with a character that is not valid, that parameter is run by using its default setting. However, every parameter that appears after that parameter is also run by using its default setting.

When you view the contents of the Patchinstall.log file, you see an entry that is similar to the following entry:
INVALID PARAMETER: Invalid Grace Period (/g option) supplied, the default grace period (336) hours will be used.
Illegal Commandline parameters, cannot continue processing of rest of parameters. Default values will be used for remaining commandline options.
Usage: PatchInstall /g:xxx /z:s|w|sw /f /c:xx /t:xx /d /p /q /I /l:xxx /n[:xxx] /x /m:"<filename>"
Note The Patchinstall.log file for the Advanced Client is located in the %windir%\System32\CCM\Logs folder. The Patchinstall.log file for the Legacy Client is located in the %windir%\Ms\Sms\Logs folder.

WORKAROUND

To work around this problem, modify parameters of the PatchInstall.exe command in the package that you want to distribute. You can access the parameters in the program's properties dialog box.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

REFERENCES

For more information about PatchInstall.exe command-line options, see "Software Updates Installation Agent Syntax" in the SMS Online Library. To view the SMS Online Library, use one of the following methods:
  • Click Start, click Programs, click Systems Management Server, and then click SMS Online Library.
  • In the SMS Administrator console tree, right-click SMS Online Library, and then click Run Online Library.

APPLIES TO
  • Microsoft Systems Management Server 2003
Keywords: 
kbtshoot kbsmspackage kbsmsadmin kbsmsclients kbsmsdistribution kbsms2003bug KB886121
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate