Delete Roaming Profiles
From WPKG | Open Source Software Deployment and Distribution
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