I too am very reliant on the task schedular and running Robocopy scripts across network shares. Acting on your post. I looked at Windows Defender Credential Guard. I ran 2 tests from a laptop with Windows 11 22H2 Build 22621.1344. I created and set permissions on a test folder on our server to only be available to domain admins. I put a bunch of files in it. I created a Robocopy script and scheduled it to run whether logged in or not highest privileges with domain admin credentials. I then logged off the laptop and waited till after the task was supposed to execute. Both times it was successful across network shares. I will continue to test. I am hesitant to post the information here because Microsoft might mess things up again, but the info was on the Microsoft Learn site. https://learn.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage
Obviously messing with the windows registry is risky and it's a good idea to back it up before doing this. You might want to set up a test environment just in case. Below is what I did for my test environment.
- Enable or disable Windows Defender Credential Guard:
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa.
- Add a new DWORD value named LsaCfgFlags. Set the value of this registry setting to 1 to enable Windows Defender Credential Guard with UEFI lock, set it to 2 to enable Windows Defender Credential Guard without lock, and set it to 0 to disable it.
This does apparently lower the security level. But with scheduled tasks and Robocopy being so important for me, I feel it's worth it. Microsoft should have reached out with a fix or an opt out for 22H2.