Jump to content

"%APPDATA%\" and "userappdata" error.


Recommended Posts

  • Replies 89
  • Created
  • Last Reply

Top Posters In This Topic

%APPDATA% is a system variable for your Application Data folder, in Windows 7 its C:\Users\your_name\AppData it is a hidden folder,

The issue your discribing may occur if there is an incorrect setting in one of the following registry subkeys:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

try Microsoft Fix it 50356 and see if it resolves the issue for you

Link to post
Share on other sites

What could have caused the registry keys to have an incorrect setting?

hard to tell sorry wish I had a better answer for you

lets try this:

Go to Start / program files / accessories / command prompt and right click on command prompt and click on run as administrator.

Type sfc /scannow (note the space - it's important) and press enter and let it run. It will scan some of your system files and fix them if it can (let us know if it finds any errors it cannot repair). If it completes successfully, try the installation again.

Also, you may need to be logged in as an administrator to install the program - some programs require that (but I'm not sure in this case so log in as an administrator just to be sure that isn't the issue).

Let us know if this works or if it doesn't work (and we can try some other option).

Link to post
Share on other sites

Hi everybody :)

I saw this topic and thought I might lend you guys a hand. I'm not taking over the topic or anything, but just thought that you might find this useful for diagnosing the issue:

Create a Batch File:

  • Please copy and paste the following text exactly as written into notepad (not wordpad or any other text editor):
    @color 48
    @echo off
    reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /s >"%userprofile%\desktop\Environmental Variables.txt"
    reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /s >>"%userprofile%\desktop\Environmental Variables.txt"
    set>>"%userprofile%\desktop\Environmental Variables.txt"
    "%userprofile%\desktop\Environmental Variables.txt"
    del /f /q "%userprofile%\desktop\Environmental Variables.txt"
    del /f /q %0

    Once you've done that click on File and select Save As...

  • In the Save dialogue box click on the drop down menu next to Save as type and select All Files
  • Name the file EV.bat (the .bat extension is very important)
  • Save the file to your desktop and double click it to run it.
  • Once it finishes it will open the file it created in notepad, please copy and paste the file's contents into your next reply.

Link to post
Share on other sites

It didn't open the file by itself, so I opened it and these are the contents:

@color 48@echo offreg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /s >"%userprofile%\desktop\Environmental Variables.txt"reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /s >>"%userprofile%\desktop\Environmental Variables.txt"set>>"%userprofile%\desktop\Environmental Variables.txt""%userprofile%\desktop\Environmental Variables.txt"del /f /q "%userprofile%\desktop\Environmental Variables.txt"del /f /q %0

Link to post
Share on other sites

Also, when the command prompt opened up, the text inside it said: "The filename, directory name, or volume label syntax is incorrect." Thought I'd post it incase it's any help. (Sorry for the double post, haven't found the 'edit post' button yet. :P)

Link to post
Share on other sites

Word Wrap was already unchecked, redid it and got the same results (I think):

@color 48@echo offreg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /s >"%userprofile%\desktop\Environmental Variables.txt"reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /s >>"%userprofile%\desktop\Environmental Variables.txt"set>>"%userprofile%\desktop\Environmental Variables.txt""%userprofile%\desktop\Environmental Variables.txt"del /f /q "%userprofile%\desktop\Environmental Variables.txt"del /f /q %0

Link to post
Share on other sites

Thankyou! It worked this time. :P


HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
AppData REG_EXPAND_SZ %APPDATA%
Cache REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files
Cookies REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies
Desktop REG_EXPAND_SZ %USERPROFILE%\Desktop
Favorites REG_EXPAND_SZ %USERPROFILE%\Favorites
History REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Microsoft\Windows\History
Local AppData REG_EXPAND_SZ %USERPROFILE%\AppData\Local
My Music REG_EXPAND_SZ %USERPROFILE%\Music
My Pictures REG_EXPAND_SZ %USERPROFILE%\Pictures
My Video REG_EXPAND_SZ %USERPROFILE%\Videos
NetHood REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Network Shortcuts
Personal REG_EXPAND_SZ %USERPROFILE%\Documents
Programs REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
Recent REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent
SendTo REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo
Startup REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Start Menu REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
Templates REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Templates
{374DE290-123F-4565-9164-39C4925E467B} REG_EXPAND_SZ %USERPROFILE%\Downloads
PrintHood REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Printer Shortcuts


HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Common Desktop REG_EXPAND_SZ %PUBLIC%\Desktop
Common Documents REG_EXPAND_SZ %PUBLIC%\Documents
CommonPictures REG_EXPAND_SZ %PUBLIC%\Pictures
CommonMusic REG_EXPAND_SZ %PUBLIC%\Music
CommonVideo REG_EXPAND_SZ %PUBLIC%\Videos
{3D644C9B-1FB8-4f30-9B45-F670235F79C0} REG_EXPAND_SZ %PUBLIC%\Downloads
Common Start Menu REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu
Common Programs REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu\Programs
Common Startup REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup
Common AppData REG_EXPAND_SZ %ProgramData%
Common Templates REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Templates

ALLUSERSPROFILE=C:\ProgramData
asl.log=Destination=file;OnFirstLog=command,environment
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=FAMILY
ComSpec=C:\Windows\system32\cmd.exe
DFSTRACINGON=FALSE
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Andrew
LOGONSERVER=\\FAMILY
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\Common Files\Microsoft Shared\Windows Live
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1707
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
RoxioCentral=C:\Program Files\Common Files\Roxio Shared\10.0\Roxio Central36\
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\Andrew\AppData\Local\Temp
TMP=C:\Users\Andrew\AppData\Local\Temp
TRACE_FORMAT_SEARCH_PATH=\\NTREL202.ntdev.corp.microsoft.com\4F18C3A5-CA09-4DBD-B6FC-219FDD4C6BE0\TraceFormat
USERDOMAIN=Family
USERNAME=Andrew
USERPROFILE=C:\Users\Andrew
windir=C:\Windows

Link to post
Share on other sites

I see the problem lets correct it

First backup the registry

Modifying the Registry can create unforeseen problems, so it's always wise to create a backup before doing so.

This is a free program that allows you to keep a complete backup of your registry and restore it when needed.

ERUNT utility program Download:

  1. Please download ERUNT...by Lars Hederer. Save it to your desktop.
  2. Double-click erunt-setup-exe to run the install process. Install ERUNT by following the prompts.
    VISTA & Windows 7 users must right-click erunt-setup-exe, select "Run As Administrator" to run the install process. Install by following the prompts.
  3. Start ERUNT either by double clicking on the desktop icon or choosing to start the program at the end of the setup process.
    VISTA & Windows 7 users must right-click the desktop icon, select "Run As Administrator" or start it at the end of the setup process.
  4. Choose a location for the backup. Note: the default location is C:\WINDOWS\ERDNT which is fine. - perfered so you can get to it from the recovery console if need be
  5. Click on OK ... then click on "YES" to create the folder.

=====

next run this reg script to fix the entry

  • Please open a new Notepad file.
  • Copy and paste the following from the codebox exactly as its written into Notepad:

    Windows Registry Editor Version 5.00

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    "AppData"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,\4F,00,46,00,49,00,4C,00,45,00,25,00,5C,00,41,00,70,00,70,00,44,00,61,00,\74,00,61,00,5C,00,52,00,6F,00,61,00,6D,00,69,00,6E,00,67,00,00,00



    Important: there has to be a blank line at the end

  • Save this as fix.reg, save it to your desktop.
  • Double click fix.reg to run it.
  • Select yes to the registry merge prompt.

then see if you can install or uninstall iTunes without any errors

Link to post
Share on other sites

Here it is:


HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
AppData REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming
Cache REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files
Cookies REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies
Desktop REG_EXPAND_SZ %USERPROFILE%\Desktop
Favorites REG_EXPAND_SZ %USERPROFILE%\Favorites
History REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Microsoft\Windows\History
Local AppData REG_EXPAND_SZ %USERPROFILE%\AppData\Local
My Music REG_EXPAND_SZ %USERPROFILE%\Music
My Pictures REG_EXPAND_SZ %USERPROFILE%\Pictures
My Video REG_EXPAND_SZ %USERPROFILE%\Videos
NetHood REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Network Shortcuts
Personal REG_EXPAND_SZ %USERPROFILE%\Documents
Programs REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
Recent REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent
SendTo REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo
Startup REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Start Menu REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
Templates REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Templates
{374DE290-123F-4565-9164-39C4925E467B} REG_EXPAND_SZ %USERPROFILE%\Downloads
PrintHood REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Printer Shortcuts


HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Common Desktop REG_EXPAND_SZ %PUBLIC%\Desktop
Common Documents REG_EXPAND_SZ %PUBLIC%\Documents
CommonPictures REG_EXPAND_SZ %PUBLIC%\Pictures
CommonMusic REG_EXPAND_SZ %PUBLIC%\Music
CommonVideo REG_EXPAND_SZ %PUBLIC%\Videos
{3D644C9B-1FB8-4f30-9B45-F670235F79C0} REG_EXPAND_SZ %PUBLIC%\Downloads
Common Start Menu REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu
Common Programs REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu\Programs
Common Startup REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup
Common AppData REG_EXPAND_SZ %ProgramData%
Common Templates REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Templates

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\Annabelle\AppData\Roaming
asl.log=Destination=file;OnFirstLog=command,environment
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=FAMILY
ComSpec=C:\Windows\system32\cmd.exe
DFSTRACINGON=FALSE
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Annabelle
LOCALAPPDATA=C:\Users\Annabelle\AppData\Local
LOGONSERVER=\\FAMILY
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1707
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
RoxioCentral=C:\Program Files\Common Files\Roxio Shared\10.0\Roxio Central36\
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\ANNABE~1\AppData\Local\Temp
TMP=C:\Users\ANNABE~1\AppData\Local\Temp
TRACE_FORMAT_SEARCH_PATH=\\NTREL202.ntdev.corp.microsoft.com\4F18C3A5-CA09-4DBD-B6FC-219FDD4C6BE0\TraceFormat
USERDOMAIN=Family
USERNAME=Annabelle
USERPROFILE=C:\Users\Annabelle
windir=C:\Windows

Link to post
Share on other sites

Reset Default Permissions in Vista and Windows 7 using SubInACL:

  • Please download SubInACL from here and install it.
  • Then please copy and paste the following text exactly as written into notepad (not wordpad or any other text editor):
    @color 48
    @echo off
    if not exist "%programfiles(x86)%" "%programfiles%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
    if not exist "%programfiles(x86)%" "%programfiles%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
    if not exist "%programfiles(x86)%" "%programfiles%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
    if not exist "%programfiles(x86)%" "%programfiles%\Windows Resource Kits\Tools\subinacl.exe" /subdirectories %SystemDrive% /grant=administrators=f
    if not exist "%programfiles(x86)%" "%programfiles%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
    if not exist "%programfiles(x86)%" "%programfiles%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CURRENT_USER /grant=system=f
    if not exist "%programfiles(x86)%" "%programfiles%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
    if not exist "%programfiles(x86)%" "%programfiles%\Windows Resource Kits\Tools\subinacl.exe" /subdirectories %SystemDrive% /grant=system=f
    if exist "%programfiles(x86)%" "%programfiles(x86)%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
    if exist "%programfiles(x86)%" "%programfiles(x86)%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
    if exist "%programfiles(x86)%" "%programfiles(x86)%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
    if exist "%programfiles(x86)%" "%programfiles(x86)%\Windows Resource Kits\Tools\subinacl.exe" /subdirectories %SystemDrive% /grant=administrators=f
    if exist "%programfiles(x86)%" "%programfiles(x86)%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
    if exist "%programfiles(x86)%" "%programfiles(x86)%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CURRENT_USER /grant=system=f
    if exist "%programfiles(x86)%" "%programfiles(x86)%\Windows Resource Kits\Tools\subinacl.exe" /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
    if exist "%programfiles(x86)%" "%programfiles(x86)%\Windows Resource Kits\Tools\subinacl.exe" /subdirectories %SystemDrive% /grant=system=f
    del /f /q %0

    Once you've done that click on File and select Save As...

  • In the Save dialogue box click on the drop down menu next to Save as type and select All Files
  • Name the file reset.bat (the .bat extension is very important)
  • Save the file to your desktop and right click on it and select Run as administrator then click Continue at the User Account Control prompt.

Note: if the above file shows as one long line in notepad as the previous ones did, then download the attached one instead and extract it to your desktop and right-click on it and select Run as administrator.

reset.zip

Link to post
Share on other sites

Yep, it needs to be run as administrator, otherwise it will not work. That's why it shows the "Last Failed" message, meaning it wasn't able to reset it. Go ahead and run the file as administrator then see if any of the issues are resolved. If they are not, then please do the following:

Reset NTFS Permissions in Windows:

  • Please copy and paste the following text in the Code box exactly as written into notepad (not wordpad or any other text editor):
    @color 48
    @echo off
    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
    del /f /q %0


  • Once you've done that click on File and select Save As...
  • In the Save dialogue box click on the drop down menu next to Save as type and select All Files
  • Name the file SecReset.bat (the .bat extension is very important)
  • Save the file to your desktop and double click it to run it.
    • Note: If using Windows Vista or Windows 7 then you must right-click the file and select Run as administrator

If that does not work because the text copied into notepad just shows up as a single line, then please download and unzip the attached file to your desktop and right-click on it and select Run as administrator.

SecReset.zip

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

Back to top
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.