Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.


Go Back   Vista Forums > Vista Newsgroups > Vista General

RB

Vista - Multiple Application Data Folders - Why & How

Reply
 
05-30-2007   #1
Paul In Alaska


 
 

Multiple Application Data Folders - Why & How

I have run into a bit of a problem. I ran my weekly Spy Sweeper scan today
and it was taking way too long - over 6 hours. I saw it was running the scan
on the Application Data folder under my user name. Upon further investigation
I found many Application Data folders under the Application Data folder,
approximately 10. I recognize they are all short cuts or mapped folders. Yet
there should be only one. How do I correct this problem? AND better yet does
anyone know how it happenned?
Paul

My System SpecsSystem Spec
05-31-2007   #2
Jimmy Brush


 
 

Re: Multiple Application Data Folders - Why & How

Hello,

There is actually no folder named "Application Data".

This was a folder in Windows XP, but in Windows Vista, this folder has
been moved.

"Application Data" is a junction (fancy name for a special kind of
shortcut) that exists in Vista to point old programs to the new
location under certain scenarios.

Windows prevents programs from accessing these special junctions like
a folder to prevent this "hall of mirrors" effect from happening.

The problem here, is that Spy Sweeper does not correctly recognize
that this is a junction, and (if you have not changed the default
security on this junction) is bypassing the security settings that
Windows imposes to prevent this.

Since removing this junction could stop some of your programs from
working correctly, it is best to leave it there. The ball is in Spy
Sweeper's court to work correctly with these junctions.

- JB


On Wed, 30 May 2007 00:43:01 -0700, Paul In Alaska
<PaulInAlaska@discussions.microsoft.com> wrote:

>I have run into a bit of a problem. I ran my weekly Spy Sweeper scan today
>and it was taking way too long - over 6 hours. I saw it was running the scan
>on the Application Data folder under my user name. Upon further investigation
>I found many Application Data folders under the Application Data folder,
>approximately 10. I recognize they are all short cuts or mapped folders. Yet
>there should be only one. How do I correct this problem? AND better yet does
>anyone know how it happenned?
>Paul

My System SpecsSystem Spec
05-31-2007   #3
Paul In Alaska


 
 

Re: Multiple Application Data Folders - Why & How

JB,

Thanks for the info. I did recognize the "folder" Application Data was only
a place holder with pointers. But should I have multiple levels - ie pointers
back to itself? In XP as you stated it was a folder and in XP it did not have
multiple levels of Application Data under the initial folder. This last weeks
scan by Spy Sweeper showed this to be a new problem. It looks like a program
in a continous loop without the END statement. Is there a solution within
Vista to prevent the creation or dissolve the multiple pointers to itself?

Thanks - Paul

"Jimmy Brush" wrote:

> Hello,
>
> There is actually no folder named "Application Data".
>
> This was a folder in Windows XP, but in Windows Vista, this folder has
> been moved.
>
> "Application Data" is a junction (fancy name for a special kind of
> shortcut) that exists in Vista to point old programs to the new
> location under certain scenarios.
>
> Windows prevents programs from accessing these special junctions like
> a folder to prevent this "hall of mirrors" effect from happening.
>
> The problem here, is that Spy Sweeper does not correctly recognize
> that this is a junction, and (if you have not changed the default
> security on this junction) is bypassing the security settings that
> Windows imposes to prevent this.
>
> Since removing this junction could stop some of your programs from
> working correctly, it is best to leave it there. The ball is in Spy
> Sweeper's court to work correctly with these junctions.
>
> - JB
>
>
> On Wed, 30 May 2007 00:43:01 -0700, Paul In Alaska
> <PaulInAlaska@discussions.microsoft.com> wrote:
>
> >I have run into a bit of a problem. I ran my weekly Spy Sweeper scan today
> >and it was taking way too long - over 6 hours. I saw it was running the scan
> >on the Application Data folder under my user name. Upon further investigation
> >I found many Application Data folders under the Application Data folder,
> >approximately 10. I recognize they are all short cuts or mapped folders. Yet
> >there should be only one. How do I correct this problem? AND better yet does
> >anyone know how it happenned?
> >Paul

>

My System SpecsSystem Spec
05-31-2007   #4
Jimmy Brush


 
 

Re: Multiple Application Data Folders - Why & How

The cause of the recursion is because Microsoft decided to flatten a
system folder structure.

In Windows XP, you had %userprofile%\Local Settings\Application Data.
In Windows Vista, both Local Settings and Application Data have been
replaced by a single folder, %userprofile%\AppData\Local.

In order to accomplish the propper redirection, you need two
junctions:

1) A Local Settings junction, that will forward programs going to
%userprofile%\Local Settings to the new folder.

2) An Application Data junctions *inside of the new folder* that
points back on itself, to get programs accessing %userprofile%\Local
Settings\Application Data.

If you think about it, it makes sense ... when the program is
accessing local settings, it will get forwarded to the folder it needs
to be in, however, it is also accessing a folder named Application
Data *inside of the correct folder it needs* (since it has already
been redirected by the Local Settings junction), so the Application
Data junction has to point back on itself for things to function
properly.

I would suggest checking the security settings on your Application
Data junction (C:\users\yourname\appdata\local) (you will need to
select show operating system files from folder options in an explorer
window).

Go to the security tab, click advanced, then edit, and make sure you
see a deny permission for everyone on the list.

If there isn't one listed, create one for "Everyone" and check the box
under Deny next to "read folder / list data".

- JB

On Thu, 31 May 2007 13:49:02 -0700, Paul In Alaska
<PaulInAlaska@discussions.microsoft.com> wrote:

>JB,
>
>Thanks for the info. I did recognize the "folder" Application Data was only
>a place holder with pointers. But should I have multiple levels - ie pointers
>back to itself? In XP as you stated it was a folder and in XP it did not have
>multiple levels of Application Data under the initial folder. This last weeks
>scan by Spy Sweeper showed this to be a new problem. It looks like a program
>in a continous loop without the END statement. Is there a solution within
>Vista to prevent the creation or dissolve the multiple pointers to itself?
>
>Thanks - Paul
>
>"Jimmy Brush" wrote:
>
>> Hello,
>>
>> There is actually no folder named "Application Data".
>>
>> This was a folder in Windows XP, but in Windows Vista, this folder has
>> been moved.
>>
>> "Application Data" is a junction (fancy name for a special kind of
>> shortcut) that exists in Vista to point old programs to the new
>> location under certain scenarios.
>>
>> Windows prevents programs from accessing these special junctions like
>> a folder to prevent this "hall of mirrors" effect from happening.
>>
>> The problem here, is that Spy Sweeper does not correctly recognize
>> that this is a junction, and (if you have not changed the default
>> security on this junction) is bypassing the security settings that
>> Windows imposes to prevent this.
>>
>> Since removing this junction could stop some of your programs from
>> working correctly, it is best to leave it there. The ball is in Spy
>> Sweeper's court to work correctly with these junctions.
>>
>> - JB
>>
>>
>> On Wed, 30 May 2007 00:43:01 -0700, Paul In Alaska
>> <PaulInAlaska@discussions.microsoft.com> wrote:
>>
>> >I have run into a bit of a problem. I ran my weekly Spy Sweeper scan today
>> >and it was taking way too long - over 6 hours. I saw it was running the scan
>> >on the Application Data folder under my user name. Upon further investigation
>> >I found many Application Data folders under the Application Data folder,
>> >approximately 10. I recognize they are all short cuts or mapped folders. Yet
>> >there should be only one. How do I correct this problem? AND better yet does
>> >anyone know how it happenned?
>> >Paul

>>

My System SpecsSystem Spec
Reply

RB


Thread Tools


Similar Threads for: Multiple Application Data Folders - Why & How
Thread Forum
RE: Application Data .NET General
Copy To Application Data Folders Vista file management
Duplicate levels of 'Application Data' folders in Vista? Vista General
appdata-local-Application Data-Application Data-Application Data infinitum ad nauseum. WHY Vista General
Users & Application data folders in WE Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd