Difference between revisions of "Delete Roaming Profiles"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 1: Line 1:
 
Delete Roaming Profiles:
 
Delete Roaming Profiles:
  
<pre>
+
<source lang="xml">
 
<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"  
 
       <check type="registry" condition="equals"  
Line 7: Line 7:
 
         <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>
</pre>
+
</source>
  
 
Where deleteroamingprofile.reg have:
 
Where deleteroamingprofile.reg have:
<pre>
+
<source lang="reg">
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
 
"DeleteRoamingCache"=dword:00000001
 
"DeleteRoamingCache"=dword:00000001
</pre>
+
</source>
  
 
[[Category: Silent Installers]]
 
[[Category: Silent Installers]]
 
[[Category: Changing Windows settings]]
 
[[Category: Changing Windows settings]]

Revision as of 18:22, 8 February 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