Re: Access to a user's Special Folders




<wheels619@xxxxxxxxx> wrote in message
news:1156201660.917077.95490@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| Sorry I wasn't more clear; trying to make the example generic; I meant
| AAA was the LocalSystem user. Is this user folder fixed? I would think
| you can change it per system(ie, user has an e:\ rather than a c:\).
|

Not sure what exactly is meant here by a "user folder".
Just let me explain my point...
Service accounts aren't interactive accounts, they don't have an
'interactive' profile (created by the system at first interactive logon), so
they don't have "My documents" and other related stuff on the File system.
What they have is an environment block and a minimal profile loaded, this
profile has a an Application Data entry which refers to the FIXED FS path
(except the drive letter) like: C:\Documents and
Settings\LocalService\Application Data or C:\Documents and
Settings\NetworkService\Application Data.
This path is returned by Environment.SpecialFolder.ApplicationData when
running as LocalService or NetworkService resp.
Creating a file under this path say:
C:\Documents and Settings\LocalService\Application Data\config.xml
will effectively create the file on the FS.
Note that the command shell will not show you the directories of these
pseudo accounts, they are only visible through the explorer shell.
An admin has access to the folder, so IMO it should be a problem to edit
config info in that folder.

Willy.




.



Relevant Pages

  • re Delete user
    ... I'm assuming the Accounts were deleted through the User ... Windows copies certain parts of the user's profile, ... in the My Documents folder to a folder on your desktop ...
    (microsoft.public.windowsxp.security_admin)
  • Re: limited user account permissions
    ... Many programs during their install place icon/shortcuts ... into the .\desktop and .\Start menu folders in the profile ... of those accounts and then delete them from the All Users ... This is usually a folder in Program Files, ...
    (microsoft.public.windowsxp.security_admin)
  • re Delete user
    ... >I'm assuming the Accounts were deleted through the User ... >in the My Documents folder to a folder on your desktop ... >where they become part of your profile and remain under ... >>I just bought a new computer with Windows XP ...
    (microsoft.public.windowsxp.security_admin)
  • Scripting User profile copying
    ... I have setup the Documents and Settings folder to reside on ... My problem is that if I do reimage the C: partition, ... user accounts created after the original deployment. ... the GUI Copy To function of user profile copying. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: 0x8004011b when trying to download the address book.
    ... OABInteg-Admin_04:43:16 PM profile was created in the Windows Messaging Subsystem on CORP-EXCH-1. ... Message Class Differential found: 8 ... Starting Test 9 - OAB System Folder Check ...
    (microsoft.public.exchange.clients)