UVK Script - Repair AppData
Repair AppData (Application data environment variable and paths)
Sometimes installation and runtime errors occur because %Appdata% can't be found. This script fixes this issues.
Creates system full acl permissions to Application Data and Local Application Data folders.
Creates system and User full acl permissions to registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders.
Fixes registry value "AppData" under the key "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
Note that this script includes commands only supported after UVK version 1.4.. Please ensure you're running the latest version before downloading the script.
Some commands in this script aren't the same for all windows versions. So be careful and download the right script for your operating system.
AppDataFix for Windows 2000, XP and server 2003:
AppDataFix for Windows7, Vista and server 2008: