HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Windows/diagnostics/system/WindowsUpdate/RS_AppData.ps1
# Copyright © 2017, Microsoft Corporation. All rights reserved.
# =============================================================
# Load Utilities
# =============================================================
. ./CL_Utility.ps1

# =============================================================
# Main
# =============================================================

$correctValue = Get-AppDataExpectedString

Set-ItemProperty -Path 'Registry::HKU\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\' -Name AppData -Value $correctValue