Difference between revisions of "Delete Roaming Profiles"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (use Regedit4 format for exporting - Regetit5 format is binary (sort of), and is not edited easily under non-Windows systems)
m
Line 3: Line 3:
 
<pre>
 
<pre>
 
<package id="delroamingprofile" name="Delete Roaming Profile" revision="1" reboot="false" priority="1000" timeout="10">
 
<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" />
+
       <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>
 
         <install cmd='cmd /C regedit.exe /s "%PACKAGES%\registry\deleteroaminprofile.reg"'></install>
 
</package>
 
</package>

Revision as of 18:10, 24 January 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 have:

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