Troubleshooting Windows Upgrade Access Denied Errors During GPO Setup

0
12
Asked By TechnoWiz42 On

I'm trying to upgrade our PCs from Windows 10 Enterprise LTSC to Windows 11 Enterprise LTSC automatically and silently via Group Policy. I set up a scheduled task using the SYSTEM account to run a script that executes Windows Setup. My tests on a VM and a sysadmin's PC worked fine, but when I deployed the GPO to another department, I encountered an error. The task copied the ISO to the machine, mounted it, and started the setup, but then failed with the message: 'This command cannot be run due to the error: Access is denied.' How should I approach troubleshooting this issue? Any advice would be greatly appreciated.

3 Answers

Answered By SysAdminNinja88 On

Make sure to check if those machines have any endpoint protection or HVCI enabled, as they can block the setup. I've seen issues from strict Windows Defender Application Control policies or Credential Guard preventing the SYSTEM account from executing the installer.

Answered By GamerDad51 On

Have you checked the setup error log? It might give you more insight into what went wrong. Also, ensure that your setup command is running properly. It's possible that the ISO is mounting in a user session instead of the SYSTEM account. Sometimes antivirus, like Windows Defender or others, can also interfere with the installation process.

Answered By PCGeek101 On

Definitely look into the setuperr.log for details on the failure. That file often has the specifics of what caused the installation to be blocked.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.