Hi
I have SCCM 2012 R2 wit MDT2013 integration
I made TS where I apply Win7 and Win81. I putted some customization after Install application settings.
I need to change power scheme and some user locale configs.
Each command is in separate step and Start in is c:\windows\system32
powercfg –x -monitor-timeout-ac 20
powercfg –x -standby-timeout-ac 0
control.exe intl.cpl,, /f:"%scriptroot%\customsettings_userlocale.xml"
control.exe intl.cpl,, /f:"%scriptroot%\customsettings_InputPreferences.xml"
but
When TS is running I got errors in each of these steps
The task sequence execution engine failed executing the action (Monitor 20 min) in the group (State Restore) with the error code 1Action output: [ smsswd.exe ]
PackageID = ''
BaseVar = '', ContinueOnError=''
ProgramName = 'powercfg –x -monitor-timeout-ac 20'
SwdAction = '0001'
Set command line: Run command line
Working dir 'c:\windows\system32'
Executing command line: Run command line
Process completed with exit code 1
Command line returned 1. The operating system reported error 1: Incorrect function.