LOCALAPPDATA is one of the new new environment variables included in Windows Vista, which points to the folder that stores the data for local (non-roaming) applications. To access the folder, run the command %LOCALAPPDATA% from Start, Search box in Windows Vista. This variable does not exist in earlier Windows Operating Systems. If you access this folder frequently in your Windows XP system, you may add the LOCALAPPDATA variable using the steps below.
Note: Alternately, you can open the Local Application Data folder in Windows XP and Windows Vista by running the command shell:Local AppData.
ERUNT is an excellent Registry Backup and Restore Utility for Windows NT/2000/2003/XP/Vista. This program backs up the DEFAULT, SAM, SECURITY, SOFTWARE, SYSTEM hives and also the per-user registry hives namely NTUSER.DAT & USRCLASS.DAT.
ERUNT works fine in Windows Vista if run under elevated privileges. To run the application elevated, right-click the file ERUNT.EXE which is located in "C:\Program Files\ERUNT" and choose Run as Administrator. Additional instructions are available in article Take a complete registry backup using ERUNT.
Note: Running ERUNT in a non-elevated mode would display the following error:
RegCreateKeyEx: 5 - Access is denied.
Create Automatic Registry Backups at Vista Startup
Using Task Scheduler, you can configure ERUNT to backup the registry at Startup (Note that ERUNT does not create a new backup if one already exists for the current day.) Follow these instructions:
1. Open Task Scheduler from Control Panel or by running the command control schedtasks from Start, Search box.
2. In the Actions pane on the right, click Create Task…
3. Type a name for the task that you want to create (for example, ERUNT), and optionally assign a descriptive text.
4. Click Change User or Group… button
5. Type SYSTEM and click OK
6. Enable the option Run with highest privileges. This is an important step.
7. Select the Triggers tab, and click New
8. In the Begin the task drop-down box, select At startup, and click OK
9. Select the Action tab, and click New
8. In the Program/script: text box, type the following (including the quotes):
9. In the Add arguments (optional) text box, type the following: