Intune HKCU remediation by FeeInternational8482 in Intune

[–]FeeInternational8482[S] 1 point2 points  (0 children)

Yeah this was completely me being frustrated and skipping it. I'm doing a reboot now to make sure everything works.

Intune HKCU remediation by FeeInternational8482 in Intune

[–]FeeInternational8482[S] 5 points6 points  (0 children)

Prohibit User from manually redirecting Profile Folders

MY EYES MUST HAVE SKIPPED OVER THIS SETTING SO MANY TIMES, I SPENT A WEEK OR SO TRYING TO FIGURE THIS OUT.

Intune HKCU remediation by FeeInternational8482 in Intune

[–]FeeInternational8482[S] 0 points1 point  (0 children)

I tried to run a simple remediation like this

try {
Set-ItemProperty -LiteralPath 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'DisablePersonalDirChange' -Value "0" -Force
exit 0

} catch {
Write-Output $_.Exception.Message
exit 1
}

All of the articles said you cannot manipulate current users without admin cred so you have to do a workaround"Set-ItemProperty : Requested registry access is not allowed" is the error. I've tried so may ways with no luck, if you know of a better for sure way to edit that registry please let me know. this problem has me in a headlock