The How-To Geek Forums Have Migrated to Discourse


How-To Geek Forums / Windows Vista

(Solved) - %AppData%

(35 posts)
  • Started 7 years ago by wmk
  • Latest reply from Bartman
  • Topic Viewed 44648 times

wmk
Posts: 35

The value AppData is%USERPROFILE%\AppData\Roaming for my Windows Vista (English) under HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders. And yet I still get error 1606 Could not access network location %APPDATA% when I tried to install Java and Adobe updates. Pls help.

Posted 7 years ago
Top
 
ScottW
Posts: 6609

wmk, hello. Can you access %APPDATA% by entering this variable in a Run box (Win+R)? I would suggest that you check all of the environment variables, from a Command Prompt run set. Check the location of all of the special folders, Shell Folders and User Shell Folders, in both HKLM and HKCU hives and compare to a known good list. In addition, you could use a software such as Known Folders Browser to look at the data.

Have you moved any of the special folders?

Posted 7 years ago
Top
 
wmk
Posts: 35

I checked my computer vs the lists in winhelponline and found the flwg items that differ from the lists:
A. HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
1. {Default} REG_SZ {value not set}
this is not in the list
2. Personal REG_EXPAND_SZ D:\Documents
it is %USERPROFILE%\Documents in the list
3. Favorites - I do not hv this
B. HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
1. {Default} REG_SZ {value not set}

Posted 7 years ago
Top
 
wmk
Posts: 35

I only checked the 2 User Shell Folders and not others.

Posted 7 years ago
Top
 
ScottW
Posts: 6609

The default values go without saying. I do have Personal and Favorites:

Favorites    REG_EXPAND_SZ    %USERPROFILE%\Favorites
Personal    REG_EXPAND_SZ    %USERPROFILE%\Documents


I don't see why these would cause problems, but you should restore them anyway. Also, did you check the environment variables? Can you access %APPDATA% from a Run box (Win+R)? Have you moved any of the special folders?

Posted 7 years ago
Top
 
wmk
Posts: 35

Does it mean I keep the default values?
I do not want to change my Personal because I want to keep my documents in D: and still keep them from being seen by other account users.
When I type %APPDATA% in the Run box I get the folder at my username - AppData - Roaming.
I do not know which are special folders.
I checked all the environment variables in the 2 User Shell Folders I mentioned earlier.

Posted 7 years ago
Top
 
ScottW
Posts: 6609

Yes, leave the default values as is. They belong there.

You can move any or all of your personal folders to another drive, as shown in this article. That will update the registry, too.

That's the proper behavior for Run -> %APPDATA%, it opens Explorer at that folder. This shows that the environment variable is good, but doesn't explain why the error message is calling it out.

All of these folders listed in the (User) Shell Folders registry keys are special folders in Windows.

Posted 7 years ago
Top
 
wmk
Posts: 35

I have already moved my documents to D: and that's why Personal has a value data D:\Documents instead of %USERPROFILE%\Documents. Except for this and the fact that I do not have Favorites, the entire 2 User Shell Folders have entries that match the lists in the link you provided, namely winhelponline.
So now where do I go from here, please?

Posted 7 years ago
Top
 
ScottW
Posts: 6609

Here is the list of special folder from Microsoft's KB article about error 1606.

Adobe also has a KB article about 1606. This article at java mentions a 1606, but I can't tell if it's the same one.

This only happens on Adobe and Java products? Which products? Only updates and not installs? Do other vendor's software installs or updates work? I see another mention of MS Office -- do you have it installed?

Posted 7 years ago
Top
 
wmk
Posts: 35

I have kb 886549 already. There are errors in there. In HKCU, the value data for Personal and PrintHood are swopped. And the list for HKLM does not apply to Windows Vista. The lists in winhelponline are good.
I had a quick look at the Adobe and java articles, they don't seem to be the same. I will have a closer look at them.
So far, this error 1606 only happens on Adobe and Java updates:
Java -- jre-6u16-windows-i586.exe
Adobe -- AdbeRdr910-en-US.exe

I have no trouble with Windows update and Kaspersky internet security updates. I have MS Ofice 2007 installed.

Do I now carry out the instructions in the Java and Adobe articles?

Posted 7 years ago
Top
 
wmk
Posts: 35

Sorry if I sound offensive

Posted 7 years ago
Top
 
ScottW
Posts: 6609

I didn't hear anything offensive.

If you are waiting for an answer to your last question then, yes, try the steps in the KB articles from Java and Adobe.

Posted 7 years ago
Top
 
wmk
Posts: 35

Thanks for yr reply.

THE JAVA ARTICLE requires one to send in the flwg files from the Temp folder:
MSI*****.log file
java_install.log file
jusched.log file

But previously I was advised in a forum to go as the administrator to C:\ProgramFiles\Java to delete the entire Java folder before updating. The deletion was unsuccessful, with the message "Destination Folder Access Denied". Upon further advice, I installed unlocker1.8.7.exe and finally the Java folder was gone. (But I still have java.exe in System 32.)

Maybe as a result, I only found jusched in my Temp folder.

THE ADOBE ARTICLE offers 7 solutions.
Since I installed my MS Office 2007 in June 2008 and Adobe updates were still successful in April 2009, I do not think the solutions involving MS Office really apply in my case.

I even convert back the Documents folder to %USERPROFILE%/Documents, but with no improvement on the Adobe updates.

What can I do now?

Posted 7 years ago
Top
 
ScottW
Posts: 6609

wmk, I'm not sure what to suggest now. You could try uninstalling the Java RE and Adobe Reader, then reinstalling.

You could use Revo Uninstaller (32-bit only) to get a cleaner uninstall. Then use JavaRa to remove traces of old Java runtimes. Adobe has this article on manually removing Reader 8, but I don't see a similar article for Reader 9.

You could run a mild registry cleaner, such as CCleaner. You could run the System File Checker (SFC).

These are all things that you could do, but I can't guarantee that any of this will fix your problem.

Posted 7 years ago
Top
 
wmk
Posts: 35

I took the plunge and carried out product recovery for my computer,then successfully installed jre-6u16-windows-i586.exe.

Can you please tell me which update I need for jre1.6.0\bin\java.exe, as this still shows up as a vulnerability by Kaspersky. Thanks

Posted 7 years ago
Top
 
ScottW
Posts: 6609

wmk, Java RE 6 update 16 is the latest version. Since Java does not uninstall old versions automatically, I always manually uninstall the older version before installing the new one. Secunia PSI does version checking on my system and will call out downlevel Java to me.

If the java.exe in your jre1.6.0\bin folder is not the latest version, then delete or uninstall it. If you need an older version for some reason, then make an exception for it with Kaspersky.

Posted 7 years ago
Top
 
wmk
Posts: 35

I deleted the java.exe in the jre1.6.0\bin folder.

I have not got Secunia PSI. Is there a convenient way to uninstall older verions of Java in the future?

Posted 7 years ago
Top
 
mikehunt
Posts: 133

As Scott said it is usually the best policy to uninstall older versions from add n remove programs before updating, that way there is no conflicting issues the new update just install's to the old folder but the older actual app is uninstalled via the add and remove programs, if you want to start uninstallation deeper than that you have to start digging into the registry, and files and folders and so on, which takes a long time and can sometimes go completely wrong !!!

Posted 7 years ago
Top
 
ScottW
Posts: 6609

wmk, the utility JavaRa, mentioned above, will search out the leftovers of old Java installations and help you delete them.

Posted 7 years ago
Top
 
wmk
Posts: 35

Scott, what about Adobe? Any similar problem there?

Posted 7 years ago
Top
 
ScottW
Posts: 6609

No, not as far as I know. New versions of Adobe Reader will replace the old ones -- it actually has a built-in updater so it's not necessary to download the entire new version. I am not aware of a clean uninstaller for Adobe Reader, but I also haven't heard of complaints about it leaving a mess behind when uninstalled.

Posted 7 years ago
Top
 
wmk
Posts: 35

For JavaRa, Windows versions supported listed Vista without UAC. I have UAC turned on. Does it affect the applicability of JavaRa?

Posted 7 years ago
Top
 
ScottW
Posts: 6609

This is just poor wording, or a bad translation. They mean that it has to be run as administrator, and you accept the UAC prompt, in order to work properly. I have used it in Vista with UAC enabled and it works just fine.

Posted 7 years ago
Top
 
wmk
Posts: 35

Is there a difference between running as administrator in a standard user account and actually using the administrator account? Does downloading a program in a standard user account make it available across the board to all user accounts?

Posted 7 years ago
Top
 
ScottW
Posts: 6609

Interesting questions! There is enough here for a new thread.

When running a standard user account, in order to "run as administrator" it is necessary to provide the credentials (username and password) of an actual administrator. If a standard user can provide the administrator's credentials at a UAC prompt, then this privilege elevation level is the same as if an administrator accepted a UAC prompt.

You asked about "the" administrator account, but there is potential for confusion there. There is an account called "Administrator" that is disabled by default. Most users will create an account that is a member of the administrators group ("an" admin account) and never activate the account named Administrator ("the" Admin account).

If a standard user downloads a file to their user account, C:\Users\(username), then it is protected from other users. If a file is downloaded to a shared or common directory, it is available to everyone. An admin can change the permissions of those files in order to access them. A standard user cannot install or uninstall programs for all users.

Posted 7 years ago
Top
 
wmk
Posts: 35

Why disable "Administrator" by default? Is the "Administrator" unique and above other members of the admin group? Can one become the "Administrator"?

If a standard user running as administrator downloads a program like Java, is it still protected from other users or will the program be automatically downloaded to a common directory? And how about a member of the admin group downloading?

Is the guest account a great security risk?

Posted 7 years ago
Top
 
nerdygeek6
Posts: 26

hi wnk, you can become the admin of the computer byyahoo answers

Posted 7 years ago
Top
 
ScottW
Posts: 6609

wmk, as I understand it, "the" Administrator account basically runs at elevated privilege at all times. In other words, everything runs as if "run as admin" were chosen and the UAC prompt has already been accepted. That's why this account is disabled by default since it bypasses security measures. If a virus infected the system when running with this account, it would have the same privileges which are virtually unlimited.

You can become the Administrator by enabling the account and logging into it. However, it's not recommended unless you are, for example, locked out of your regular admin account and need a higher privilege to rescue it.

Files are downloaded as specified in the browser used to do it, or by the user if they choose to be prompted. The default location for most browsers should be the User directory. Any file written to a User directory is protected by access permission from other users, even admins. Of course, as mentioned before, admins can change the access permissions. I'm not sure what would happen if a standard user downloaded a file to their User account with elevated privileges. It might write the access permissions for that file as readable by the administrators group, but the directory would still be protected.

I haven't studied the Guest account in Vista or 7.

Posted 7 years ago
Top
 
wmk
Posts: 35

Scott, so a regular admin account would be one tier down from "The" Administrator in terms of elevated privileges? That account would have less privileges than "The" Administrator?
And a standard user account running as admin would have the same privileges as a regular admin account and would stay that way until log off?

If I have 2 standard accounts, do I have to download Java applications to them separately?

Posted 7 years ago
Top
 
ScottW
Posts: 6609

Privilege elevation by UAC is only temporary and only applies to the process that is elevated. A standard user can only "run as admin" by providing an admin's credentials to a UAC prompt, which applies only to one process (or application), and only so long as that process runs. I would rank the privilege levels like this:

low privilege - standard user
standard privilege - an admin user
elevated privilege - standard user or admin user after UAC prompt (temporary), "Administrator" (permanent)

There are even exceptions to these levels. For example, Protected Mode in IE7 and 8 runs the browser with low privileges whenever possible.

If you have standard user accounts, applications for use by all users should be done from an admin account or by temporary UAC elevation within one of the standard user accounts.

Posted 7 years ago
Top
 
wmk
Posts: 35

Thank you.

Is there anything that can be done to prevent as far as possible future %AppData% errors from happening?

With hard disk back up applications like Acronis True Image, do you need an external hard disk for the back up? A partition in the internal hard disk would not be fail safe?

Posted 7 years ago
Top
 
ScottW
Posts: 6609

I have no idea what causes %AppData% problems in the first place, so I can't say how to prevent it. However, since you are asking about backups, that is certainly going to allow you to undo damage if it should happen. A restore point in System Restore can also undo damage.

For a backup application, such as Acronis, you don't *need* an external drive. However, as you have already figured out, keeping a backup on a different partition on the same drive that is used for primary storage is not safe because if the drive mechanics fail, both the original data and backup will be lost. We just recently had a big long thread about whether or not it is safer to move the backup storage to an external device or store it in an external location.

Posted 7 years ago
Top
 
wmk
Posts: 35

Thank you very much for all your help.

Posted 7 years ago
Top
 
reederda
Posts: 11

Excuse me, I am having the same problem as seen in the first post. I tried running Win+R and got a remote assistence window instead of the %AppData% Folder. Any help?

Posted 7 years ago
Top
 
Bartman
Posts: 1287

reederda

Could you start a New Topic please? Thanks.

Posted 7 years ago
Top
 



Topic Closed

This topic has been closed to new replies.