tafjeera
Member
- Messages
- 5
- Reaction score
- 1
- Points
- 1
Hi all - I've just joined and have a question I hope you can assist with.
I have a task sequence set up like so:
- Install application 1 (no restart required)
- Run cmdline: Kill Process (required before installing application 2)
- Run cmdline: Stop Service (required before installing application 2)
- Install application 2 (msi with /quiet /norestart switches set on the application, I've also tried REBOOT=R)
- Restart computer (5400 seconds, display message)
It works perfectly on most Windows 10 x64 machines, but on some, and many Windows 7 x86 machines, it displays the custom restart message, but counts down 30 seconds.
I've tried various things, scoured the web for a couple of weeks, looked at logs, but can't find a solution.
Here are a couple of lines from a machine that did exactly this (in chronological order, my edits in [ ]):
Process completed with exit code 0
Successfully completed the action [redacted application name] with the exit win32 code 0
...
Set a global environment variable _SMSTSInstructionTableSize=6
Set a global environment variable SMSTSRebootRequested=
Set a global environment variable SMSTSRetryRequested=
Set a global environment variable SMSTSRebootReason=
Set a global environment variable SMSTSRebootMessage=
...
Start executing an instruction. Instruction name: Restart Computer. Instruction pointer: 5
Set a global environment variable _SMSTSCurrentActionName=Restart Computer
Set a global environment variable _SMSTSNextInstructionPointer=5
Unable to create an instance of the Progress UI COM Object. 0x8000401a.
Set a local default variable SMSRebootMessage
Executing command line: smsboot.exe /target:HD with options (0, 4)
Expand a string: WinPEandFullOS
!--------------------------------------------------------------------------------------------!
Start executing the command line: smsboot.exe /target:HD
Expand a string:
Expand a string: smsboot.exe /target:HD
Set a global environment variable _SMSTSLogPath=C:\Windows\CCM\Logs\SMSTSLog
Set a local default variable SMSRebootTimeout
SMSTSRebootMessage=[redacted application name] software has been updated. Your device will need restart for the software to initialise. **Please save your work…[shortened]
SMSTSRebootDelay=5400
SMSTSRebootRequested=HD
Running module version 5.0.8853.1000 from location 'C:\Windows\CCM\smsboot.exe'
...
========================= [ smsboot.exe ] =========================
Command line: '"smsboot.exe" /target:HD'
...
Process completed with exit code 0
!--------------------------------------------------------------------------------------------!
Successfully completed the action (Restart Computer) with the exit win32 code 0
Thanks for any help in advance.
I have a task sequence set up like so:
- Install application 1 (no restart required)
- Run cmdline: Kill Process (required before installing application 2)
- Run cmdline: Stop Service (required before installing application 2)
- Install application 2 (msi with /quiet /norestart switches set on the application, I've also tried REBOOT=R)
- Restart computer (5400 seconds, display message)
It works perfectly on most Windows 10 x64 machines, but on some, and many Windows 7 x86 machines, it displays the custom restart message, but counts down 30 seconds.
I've tried various things, scoured the web for a couple of weeks, looked at logs, but can't find a solution.
Here are a couple of lines from a machine that did exactly this (in chronological order, my edits in [ ]):
Process completed with exit code 0
Successfully completed the action [redacted application name] with the exit win32 code 0
...
Set a global environment variable _SMSTSInstructionTableSize=6
Set a global environment variable SMSTSRebootRequested=
Set a global environment variable SMSTSRetryRequested=
Set a global environment variable SMSTSRebootReason=
Set a global environment variable SMSTSRebootMessage=
...
Start executing an instruction. Instruction name: Restart Computer. Instruction pointer: 5
Set a global environment variable _SMSTSCurrentActionName=Restart Computer
Set a global environment variable _SMSTSNextInstructionPointer=5
Unable to create an instance of the Progress UI COM Object. 0x8000401a.
Set a local default variable SMSRebootMessage
Executing command line: smsboot.exe /target:HD with options (0, 4)
Expand a string: WinPEandFullOS
!--------------------------------------------------------------------------------------------!
Start executing the command line: smsboot.exe /target:HD
Expand a string:
Expand a string: smsboot.exe /target:HD
Set a global environment variable _SMSTSLogPath=C:\Windows\CCM\Logs\SMSTSLog
Set a local default variable SMSRebootTimeout
SMSTSRebootMessage=[redacted application name] software has been updated. Your device will need restart for the software to initialise. **Please save your work…[shortened]
SMSTSRebootDelay=5400
SMSTSRebootRequested=HD
Running module version 5.0.8853.1000 from location 'C:\Windows\CCM\smsboot.exe'
...
========================= [ smsboot.exe ] =========================
Command line: '"smsboot.exe" /target:HD'
...
Process completed with exit code 0
!--------------------------------------------------------------------------------------------!
Successfully completed the action (Restart Computer) with the exit win32 code 0
Thanks for any help in advance.