Turning OFF Network Profiles Safely

Andy Polyakov appro at fy.chalmers.se
Fri Mar 5 11:04:07 GMT 1999


> >I'm betting it is not the profiles in general but the Internet Expoiter
> >settings in the prifile thats is causing your problems.
I've experienced that Desktop can as well get big enough to become a
pain to shuffle around every time people login/logout.
> 
> David Bannon <D.Bannon at latrobe.edu.au> wrote:
> ...
> > [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet
> > Settings\Cache\Paths]
> > "Directory"="c:\temp"
> ...
> Jamie ffolliott (jmeff at engsoc.queensu.ca) wrote:
> ...
> > [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths] 
> > "Directory"="\\SERVER\Profiles\%USERNAME%\Temporary Internet Files" 
> > etc. 
> > 
> > [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders] 
> > "AppData"="\\SERVER\Profiles\%USERNAME%\Application Data"
I wonder which programs use AppData?
> > 
> > [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell 
Folders] 
> > "Cache"=""\\SERVER\Profiles\%USERNAME%\Cache"" 
> ...
I write:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders] 
"Cache"="%SystemDrive%\TEMP\%USERNAME%.cache" 
"Desktop"="%HOMEDRIVE%%HOMEPATH%\.nt\Desktop"

In order to promote it to every user's hive, I put this into the policy:

CLASS USER
   CATEGORY "Desktop"
      KEYNAME "Software\Microsoft\Windows\CurrentVersion"
      POLICY "Desktop Location [Check me!]"
         KEYNAME
"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
         PART "Idea is to detach Desktop from Profile..." TEXT
         END PART 
         PART "Enter Desktop Location" EDITTEXT
            VALUENAME "Desktop"
            DEFAULT "%HOMEDRIVE%%HOMEPATH%\.nt\Desktop"
            REQUIRED
            #if VERSION >= 2
            EXPANDABLETEXT
            #endif
         END PART 
      END POLICY ; Desktop Location [Check me!]
   END CATEGORY ; Desktop
   CATEGORY "Internet Explorer"
      KEYNAME "Software\Microsoft\Windows\CurrentVersion"
      POLICY "Cache Size Limit [Check me!]"
         KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Content"
         PART "Infamous IE Cache Size Limit can be set MB-vise now:-)"
TEXT
         END PART 
         PART "Enter Cache Size Limit" NUMERIC
            VALUENAME "CacheLimit"
            REQUIRED
            DEFAULT "5120"
            MAX 1048576
            SPIN 1024
         END PART 
      END POLICY ; Cache Size Limit [Check me!]
      POLICY "Cache Location [Check me!]"
         KEYNAME
"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
         PART "Idea is (again) to detach IE cache from profile..." TEXT
         END PART 
         PART "Enter Cache Location" EDITTEXT
            VALUENAME "Cache"
            DEFAULT "%SystemDrive%\TEMP\%USERNAME%.cache"
            REQUIRED
            #if VERSION >= 2
            EXPANDABLETEXT
            #endif
         END PART 
      END POLICY ; Cache Location [Check me!]
   END CATEGORY ; Internet Explorer

[STRINGS]

Cheers. Andy.


More information about the samba-ntdom mailing list