windows-setup icon indicating copy to clipboard operation
windows-setup copied to clipboard

Error installing on Windows 10 20H2 in a controlled environment

Open michael1maass opened this issue 3 years ago • 3 comments

hiho,

sorry to bug you.....

2021-12-28 21:44:01.119   $ -- Execute File --
2021-12-28 21:44:01.119   $ Working directory: C:\Users\fmaass.mi\AppData\Local\Temp\is-KS9DB.tmp
2021-12-28 21:44:01.119   $ Running C:\WINDOWS\system32\cmd.exe /s /c "cd > stdout.txt 2> stderr.txt"
2021-12-28 21:44:01.472   $ Success: exit code [0]
2021-12-28 21:44:01.473   $ Output from stdout [0 bytes]
2021-12-28 21:44:01.473   $ Output from stderr [0 bytes]
2021-12-28 21:44:01.473   $ Error: [ERR_CMD_OUTPUT]
                          The command interpreter did not run correctly:
                          C:\WINDOWS\system32\cmd.exe
                          
                          It did not return the expected output.

I suppose, the command is not able to create files into system32 due to gpo restrictions. I can run the command manually and get no errors but also no files stout.txt or stderr.txt ?

I suppose the only place my installation authorized account is allowed to write ist AppData\Local ?!

Michael

michael1maass avatar Dec 28 '21 20:12 michael1maass

Please supply a full log file.

johnstevenson avatar Dec 28 '21 21:12 johnstevenson

Setup Log 2021-12-30 #001.txt here you go.... and "Guten Rutsch" (happy new year)

Michael

michael1maass avatar Dec 30 '21 08:12 michael1maass

Thanks @michael1maass

Something in your configuration is preventing cmd.exe from executing in the required working directory. Take a look in your registry for an Autorun entry at:

  • HKLM\Software\Microsoft\Command Processor
  • HKCU\Software\Microsoft\Command Processor

and let me know what you have discovered.

johnstevenson avatar Dec 30 '21 13:12 johnstevenson