![]() ![]() Ran "C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -InputFormat None -File "G:/TEMP/chef-script20181119-16424-gcp0rd. End output of "C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -InputFormat None -File "G:/TEMP/chef-script20181119-16424-gcp0rd.ps1". CategoryInfo : NotSpecified: (:), WriteErrorExcep Check the spelling of the name, or if a path was included, verify Not recognized as the name of a cmdlet, function, script file, or operable I have to remove ACC, then sysprep, it works as expected.Im using ACC v5.1. STDERR: G:\TEMP\chef-script20181119-16424-gcp0rd.ps1 : The term 'C:WindowsSystem32' is running sysprep with answer file in Windows 10 will not work if ACC is installed.Begin output of "C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -InputFormat None -File "G:/TEMP/chef-script20181119-16424-gcp0rd.ps1". FATAL: Mixlib::ShellOut::ShellCommandFailed: powershell_script (kms-server-registration::kms-server-registration line 4) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with, but received '1' Can you please help me to understand the issue. The code part under powershell_script resource is :īut this is not working. ![]() Run the command cscript.exe slmgr # (or execute the command with full path).Change the directory to C:\Windows\system32.I would like to execute couple of commands in a windows client system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |