Jump to content


nhottinger

Always rerun program not working as expected

Recommended Posts

I do have another question now. I'm using ROBOCOPY with the /MIR switch to mirror the server folder with the local pc folder. It does it's job, but if there was a file that changed, the task sequence reports as failed. The files have been updated successfully, but still shows it failed. If there are no changes to be made to the local copy, it passes successfully. Any idea why?

 

 

***** It just started working as it should. Not sure if it just took a while to get the deployment updated, but now it says Installed; waiting to install again at.... *******

 

We have a pictures screen saver on all our pc's here that need updated occasionally. Our PR department places new images into a folder on a shared drive and we need to push it out to all the pc's whenever they update the images (delete or add). I'm attempting to do this with SCCM but having trouble. I have setup a task sequence to run a .bat file which copies files from the shared drive onto the local machine. This seems to be working pretty well, but I need to have this deployment run either daily or weekly. When I set the schedule in the deployment it runs once and never runs again. I've set it to Always Rerun Program and occurring every week. If the program fails for some reason, it will try again, but once it is successful it stops and never runs again.

 

Any idea how I can get this to work?

Share this post


Link to post
Share on other sites

Here is the smsts.log:

 

==========[ TsProgressUI started in process 5100 ]========== TsProgressUI 5/27/2015 2:05:37 PM 4724 (0x1274)
Registering COM classes TsProgressUI 5/27/2015 2:05:37 PM 4724 (0x1274)
sbModulePath = C:\Windows\CCM\TsProgressUI.exe TsProgressUI 5/27/2015 2:05:37 PM 4724 (0x1274)
Shutdown complete. TsProgressUI 5/27/2015 2:05:37 PM 4724 (0x1274)
Successfully intialized Logging for TS Manager. TSManager 5/27/2015 2:05:37 PM 1320 (0x0528)
Commandline: C:\Windows\CCM\TSManager.exe /service TSManager 5/27/2015 2:05:37 PM 1320 (0x0528)
Successfully registered Task Sequencing COM Interface. TSManager 5/27/2015 2:05:37 PM 1320 (0x0528)
Executing as a service TSManager 5/27/2015 2:05:37 PM 1320 (0x0528)
Started ServiceMain TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Task Sequence Manager executing as service main thread TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Waiting for CcmExec service to be fully operational TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
CcmExec service is up and fully operational TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Remediating TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Error getting system isolation info. Code 8027000C TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Remediation failed. Code 8027000C TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Remediation failed with error code 8027000C TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Parsing task sequence . . . TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Task sequence schema version is 3.00 TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Current supported schema version is 3.10 and 3.00 TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Starting Task Sequence Engine . . . TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
**************************************************************************** TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable _SMSTSNextInstructionPointer=0 TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable _SMSTSInstructionTableSize=1 TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable SMSTSRebootRequested= TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable SMSTSRebootDelay= TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable SMSTSRebootMessage= TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable SMSTSRebootReason= TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable SMSTSRetryRequested= TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
The task execution engine started execution TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set authenticator in transport TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Default CSP is Microsoft Enhanced RSA and AES Cryptographic Provider TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Default CSP Type is 24 TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Start executing an instruciton. Instruction name: Update SS Files. Instruction pointer: 0 TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable _SMSTSCurrentActionName=Update SS Files TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable _SMSTSNextInstructionPointer=0 TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a local default variable SMSTSDisableWow64Redirection TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a local default variable _SMSTSRunCommandLineAsUser TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a local default variable WorkingDirectory TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Set a global environment variable _SMSTSLogPath=C:\Windows\CCM\Logs\SMSTSLog TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Expand a string: smsswd.exe /run: cmd /c \\bvfyfs01\install$\ScreenSaverUpdate\sscopy.bat TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Expand a string: TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Start executing the command line: smsswd.exe /run: cmd /c \\bvfyfs01\install$\ScreenSaverUpdate\sscopy.bat TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
!--------------------------------------------------------------------------------------------! TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Expand a string: WinPEandFullOS TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
Executing command line: smsswd.exe /run: cmd /c \\bvfyfs01\install$\ScreenSaverUpdate\sscopy.bat TSManager 5/27/2015 2:05:37 PM 5956 (0x1744)
[ smsswd.exe ] InstallSoftware 5/27/2015 2:05:37 PM 4404 (0x1134)
PackageID = '' InstallSoftware 5/27/2015 2:05:37 PM 4404 (0x1134)
BaseVar = '', ContinueOnError='' InstallSoftware 5/27/2015 2:05:37 PM 4404 (0x1134)
ProgramName = 'cmd /c \\bvfyfs01\install$\ScreenSaverUpdate\sscopy.bat' InstallSoftware 5/27/2015 2:05:37 PM 4404 (0x1134)
SwdAction = '0001' InstallSoftware 5/27/2015 2:05:37 PM 4404 (0x1134)
Working dir 'c:\' InstallSoftware 5/27/2015 2:05:37 PM 4404 (0x1134)
Executing command line: Run command line InstallSoftware 5/27/2015 2:05:37 PM 4404 (0x1134)
Process completed with exit code 2 InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
c:\>ROBOCOPY "\\bvfyfs01\dfsshared\BVHSScreens" "C:\ScrImages" /mir InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
------------------------------------------------------------------------------- InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
ROBOCOPY :: Robust File Copy for Windows InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
------------------------------------------------------------------------------- InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Started : Wed May 27 14:05:37 2015 InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
2015/05/27 14:05:37 ERROR 5 (0x00000005) Getting File System Type of Source \\bvfyfs01\dfsshared\BVHSScreens\ InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Access is denied. InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Source - \\bvfyfs01\dfsshared\BVHSScreens\ InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Dest : C:\ScrImages\ InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Files : *.* InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Options : *.* /S /E /COPY:DAT /PURGE /MIR /R:1000000 /W:30 InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
------------------------------------------------------------------------------ InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
13 \\bvfyfs01\dfsshared\BVHSScreens\ InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
*EXTRA File 303947 Heart Attack Symptom Screensaver - Copy.jpg InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
2 \\bvfyfs01\dfsshared\BVHSScreens\files\ InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
------------------------------------------------------------------------------ InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Total Copied Skipped Mismatch FAILED Extras InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Dirs : 2 0 2 0 0 0 InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Files : 15 0 15 0 0 1 InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Bytes : 15.88 m 0 15.88 m 0 0 296.8 k InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Times : 0:00:00 0:00:00 0:00:00 0:00:00 InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Ended : Wed May 27 14:05:38 2015 InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Command line returned 2 InstallSoftware 5/27/2015 2:05:38 PM 4404 (0x1134)
Process completed with exit code 2 TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
!--------------------------------------------------------------------------------------------! TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Failed to run the action: Update SS Files.
The system cannot find the file specified. (Error: 00000002; Source: Windows) TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Set authenticator in transport TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Set a global environment variable _SMSTSLastActionRetCode=2 TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Clear local default environment TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Failed to run the action: Update SS Files. Execution has been aborted TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Set authenticator in transport TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Failed to run the last action: Update SS Files. Execution of task sequence failed.
The system cannot find the file specified. (Error: 00000002; Source: Windows) TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Set authenticator in transport TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Task Sequence Engine failed! Code: enExecutionFail TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
**************************************************************************** TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Task sequence execution failed with error code 80004005 TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Cleaning Up. TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Removing Authenticator TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Cleaning up task sequence folder TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
File "C:\_SMSTaskSequence\TSEnv.dat" does not exist. (Code 0x80070002) TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Successfully unregistered Task Sequencing Environment COM Interface. TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Executing command line: "C:\Windows\CCM\TsProgressUI.exe" /Unregister TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
==========[ TsProgressUI started in process 2560 ]========== TsProgressUI 5/27/2015 2:05:38 PM 1472 (0x05C0)
Unregistering COM classes TsProgressUI 5/27/2015 2:05:38 PM 1472 (0x05C0)
Shutdown complete. TsProgressUI 5/27/2015 2:05:38 PM 1472 (0x05C0)
Process completed with exit code 0 TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Successfully unregistered TS Progress UI. TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Start to cleanup TS policy TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
End TS policy cleanup TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Error executing Task Sequence Manager service. Code 0x80004005 TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Sending error status message TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Set authenticator in transport TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)
Successfully finalized logs to SMS client log directory from C:\Windows\CCM\Logs TSManager 5/27/2015 2:05:38 PM 5956 (0x1744)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.