PATCH.EXE Fails When Launched by PCMSVC32.EXE (125934)
The information in this article applies to:
- Microsoft Systems Management Server 1.0
This article was previously published under Q125934 SYMPTOMS
The Release Notes for Systems Management Server version 1.0 give
instructions for using SMS to distribute updated files to Windows NT 3.5
Servers. These instructions include:
- Creating a package using PATCH.PDF and PATCH.EXE supplied with SMS.
- Setting the command line properties for the Windows NT redirector patch
to "System (Background) Task" and "Automated Command Line." NOTE: This
implies that the PCM service can execute this.
- Creating a "Run Command On Workstation" job to run the executable on the
servers.
This procedure works fine when the job is executed by PCMWIN32.EXE. However
PATCH.EXE fails if it is executed by the Package Command Manager Service
PCMSVC32.EXE. The PACMAN.LOG file will display something similar to the
following.
sleeping 60 minutes
SMS PCM Service Started
CWinstService::ReadIniFile
ReadIniFile: OK
ReadIniFile: Parsing the INI file.
Check current server\share
Results Location
\\CSARWEN\SMS_SHR\despoolr.box
SMS PCM Service Running = TRUE
working.................................
SMS PCM Service::Refresh
Refresh: Getting server name
Refresh: Looking for file:
\\CSARWEN\SMS_SHR\pcmins.box\YAO01000.INS
Refresh: Packages before filter:1
Begin SetRegData
Value = YAO000R
Data = New
End SetRegData
Refresh: Packages after filter: 1
installing package SMS 1.0 Patch...............
SMS PCM Service::RunJob
Process died, cleaning up.
Begin SetRegData
Value = YAO000R
Data = Executed
End SetRegData
Begin WriteCommissarRecord
Results Location is:
\\CSARWEN\SMS_SHR\despoolr.box
ISV MIF is:
End WriteCommissarRecord
sleeping 60 minutes
The PCM service is limited to packages that do not require user input and
do not display windows on the server. PATCH.EXE does not require user
input, but it does write to the screen. If you attempt to get around this
by redirecting the output from PATCH.EXE to a file, the PCM service will
still report that the process died, and the file will list the following
error:
PATCH: the "windir" environment variable was not set
WORKAROUND
Use PCMWIN32.EXE to execute the job, or run PATCH.EXE manually from the
PATCHESNT directory on the SMS CD-ROM.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Systems
Management Server version 1.0. We are researching this problem and will
post new information here in the Microsoft Knowledge Base as it becomes
available.
Modification Type: | Minor | Last Reviewed: | 6/14/2005 |
---|
Keywords: | kbnetwork kbPCM KB125934 |
---|
|