Difference between revisions of "Delete Roaming Profiles"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(grammar correction, minor)
Line 9: Line 9:
 
</source>
 
</source>
  
Where deleteroamingprofile.reg have:
+
Where deleteroamingprofile.reg contains:
 
<source lang="reg">
 
<source lang="reg">
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

Revision as of 20:17, 23 April 2008

Delete Roaming Profiles:

<package id="delroamingprofile" name="Delete Roaming Profile" revision="1" reboot="false" priority="1000" timeout="10">
      <check type="registry" condition="equals" 
       path="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DeleteRoamingCache" value="1" />
        <install cmd='cmd /C regedit.exe /s "%PACKAGES%\registry\deleteroaminprofile.reg"'></install>
</package>

Where deleteroamingprofile.reg contains:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DeleteRoamingCache"=dword:00000001