Category Archives: RES

Disable Language bar using Group Policy Preferences

After some searching I found out nobody found a solution to get rid of the Windows language bar using policies.
When deploying user settings using Group Policy Preferences (GPP) I actually managed to get this done!

Save the following text as settings.XML, create and open a new group policy object in Active Directory and drag the XML file into the registry portion of the user settings.
Now you should see a bunch of keys which will be deleted and/or updated.

Remember: this is the setting for Dutch Language (0413) and US-International keyboard (00020409)

One more thing, you need RES Workspace Manager because the settings need to be applied before explorer.exe is started..

Please let me know if this post helped you!

<Collection clsid="{53B533F5-224C-47e3-B01B-CA3B3F3FF4BF}" name="Set Keyboard Settings" disabled="0" desc="Created by Sebastiaan van Weelden (Ictivity) 10-09-2013" bypassErrors="1" changed="2013-09-10 14:29:33" uid="{F8F2590B-9CE8-4ED3-A4CD-634FE931E4A9}"><Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="2" status="2" image="8" changed="2013-08-22 07:40:21" uid="{2AACBDB8-F8D2-482F-BB49-56B3E018F8E2}" userContext="1" bypassErrors="1" disabled="0"><Properties action="D" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Keyboard Layout\Preload" name="2" type="REG_SZ" value="00000413"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="3" status="3" image="8" changed="2013-08-22 07:40:12" uid="{F9AA01F0-1686-469B-8FBF-8D55CF3DA68E}" userContext="1" bypassErrors="1" disabled="0"><Properties action="D" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Keyboard Layout\Preload" name="3" type="REG_SZ" value="00000413"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="1" status="1" image="6" changed="2013-08-22 07:41:01" uid="{7744E6F3-E616-4B1C-B647-FD4CD9F6CC34}" userContext="1" bypassErrors="1" disabled="0"><Properties action="R" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Keyboard Layout\Preload" name="1" type="REG_SZ" value="00000413"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="00000413" status="00000413" image="7" userContext="1" bypassErrors="1" changed="2013-08-22 07:41:48" uid="{ED84566C-7A8D-4E07-968F-130D1B1A481B}" disabled="0"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Keyboard Layout\Substitutes" name="00000413" type="REG_SZ" value="00020409"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="d0010413" status="d0010413" image="8" changed="2013-08-22 07:50:56" uid="{7192BEAB-D0C2-4F1C-B8DA-D11A88306D7D}" userContext="1" bypassErrors="1" disabled="0"><Properties action="D" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Keyboard Layout\Substitutes" name="d0010413" type="REG_SZ" value="00020409"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="Language Hotkey" status="Language Hotkey" image="7" changed="2013-08-22 07:59:00" uid="{B0714A5B-7721-4CF3-9AA0-D2A4A83B93E5}" userContext="1" bypassErrors="1" disabled="0"><Properties action="U" displayDecimal="1" default="0" hive="HKEY_CURRENT_USER" key="Keyboard Layout\Toggle" name="Language Hotkey" type="REG_SZ" value="3"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="Layout Hotkey" status="Layout Hotkey" image="7" changed="2013-08-22 08:06:57" uid="{121A34F8-C5C0-433B-84DF-EBB26C143711}" disabled="0"><Properties action="U" displayDecimal="1" default="0" hive="HKEY_CURRENT_USER" key="Keyboard Layout\Toggle" name="Layout Hotkey" type="REG_SZ" value="3"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="ShowStatus" status="ShowStatus" image="12" changed="2013-08-22 13:11:42" uid="{B66F08A6-A0E0-489A-A0E3-AD458709AFC5}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="1" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\LangBar" name="ShowStatus" type="REG_DWORD" value="00000003"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="Default" status="Default" image="7" changed="2013-08-22 13:13:10" uid="{0F3FAB83-C2BA-49B5-A683-771F899359EC}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\Assembliesx00000413\{34745C63-B2F0-4784-8B67-5E12C8701A31}" name="Default" type="REG_SZ" value="{00000000-0000-0000-0000-000000000000}"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="Profile" status="Profile" image="7" changed="2013-08-22 13:13:05" uid="{877D2AB8-636E-40F8-81D9-F93DE83519BA}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\Assembliesx00000413\{34745C63-B2F0-4784-8B67-5E12C8701A31}" name="Profile" type="REG_SZ" value="{00000000-0000-0000-0000-000000000000}"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="KeyboardLayout" status="KeyboardLayout" image="12" changed="2013-08-22 13:13:45" uid="{535C6CDA-49DA-422C-9D37-3EC6F4C49E96}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\Assembliesx00000413\{34745C63-B2F0-4784-8B67-5E12C8701A31}" name="KeyboardLayout" type="REG_DWORD" value="F0010413"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="0x00000409" status="0x00000409" image="3" changed="2013-08-22 13:14:47" uid="{C2A8654B-EA01-428C-873F-495E5A976E21}" userContext="1" bypassErrors="1"><Properties action="D" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\Assembliesx00000409" name="" type="REG_SZ" value=""/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="00000001" status="00000001" image="3" changed="2013-08-22 13:15:21" uid="{F2E8411F-473E-4D4B-989B-564232A6F881}"><Properties action="D" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\SortOrder\AssemblyItemx00000413\{34745C63-B2F0-4784-8B67-5E12C8701A31}0000001" name="" type="REG_SZ" value=""/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="CLSID" status="CLSID" image="7" changed="2013-08-22 13:16:06" uid="{165AEF77-9D88-4CD5-94DE-BAD5BF5CA9AD}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\SortOrder\AssemblyItemx00000413\{34745C63-B2F0-4784-8B67-5E12C8701A31}0000000" name="CLSID" type="REG_SZ" value="{00000000-0000-0000-0000-000000000000}"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="Profile" status="Profile" image="7" changed="2013-08-22 13:16:25" uid="{9AC40BCF-0E8C-458E-AC51-8A31178DF53D}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\SortOrder\AssemblyItemx00000413\{34745C63-B2F0-4784-8B67-5E12C8701A31}0000000" name="Profile" type="REG_SZ" value="{00000000-0000-0000-0000-000000000000}"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="KeyboardLayout" status="KeyboardLayout" image="12" changed="2013-08-22 13:16:57" uid="{BAFA25B0-17B6-4B64-9134-65BD87922474}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\SortOrder\AssemblyItemx00000413\{34745C63-B2F0-4784-8B67-5E12C8701A31}0000000" name="KeyboardLayout" type="REG_DWORD" value="F0010413"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="00000000" status="00000000" image="7" changed="2013-08-22 13:17:38" uid="{058D19D0-2755-4CE5-A304-92F7E677E83D}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\SortOrder\Language" name="00000000" type="REG_SZ" value="00000413"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="Top" status="Top" image="12" userContext="1" bypassErrors="1" changed="2013-08-22 13:18:27" uid="{33561FDC-1BF7-4298-BE78-463CBDD621B9}"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\MSUTB" name="Top" type="REG_DWORD" value="00000000"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="Left" status="Left" image="12" changed="2013-08-22 13:18:50" uid="{28A8B6F2-F4B0-4845-B44D-C391FCAE1D22}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\MSUTB" name="Left" type="REG_DWORD" value="00000580"/></Registry>
 <Registry clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}" name="KeyboardLayout" status="KeyboardLayout" image="12" changed="2013-08-22 13:19:38" uid="{3B36E33D-837C-4C0E-AF79-0EDAB45394A5}" userContext="1" bypassErrors="1"><Properties action="U" displayDecimal="0" default="0" hive="HKEY_CURRENT_USER" key="Software\Microsoft\CTF\RemoteSession" name="KeyboardLayout" type="REG_DWORD" value="00000000"/></Registry>
</Collection>

Save Certificates with RES Workspace Manager

Ever wondered why (personal) certificate information is not saved when you use folder redirection and RES Workspace Manager? Well the cause is simple, the solution also 🙂

When you choose to redirect the Application Data folder the certificate store folders are NOT redirected (bug??). They resist in the default folder. So when you use a mandatory profile and RES Workspace Manager this information is lost when you logout and your user has to enter the 24-digit passphrase again every day 😉

The solution is quick, dirty and simple. Create a User Preference will that store the following:

%userprofile%\AppData\Roaming\Microsoft\SystemCertificates
%userprofile%\AppData\Roaming\Microsoft\Protect
%userprofile%\AppData\Roaming\Microsoft\Credentials
%userprofile%\AppData\Roaming\Microsoft\Crypto
%userprofile%\AppData\Roaming\Microsoft\CLR Security Config
%userprofile%\AppData\Roaming\Microsoft\CryptNetUrlCache

HKEY_CURRENT_USER\Software\Microsoft\Cryptography
HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider
HKEY_CURRENT_USER\Software\Microsoft\SystemCertificates

Tell the news to your users and you’ll be their hero (for one day) 🙂