Disable Print Screen Function Via VBS Script (By using GPO Startup/Shutdown Script)
Another requirement, now customer need to disable default windows Print Screen function on all of their user desktop,
So, we started our searching again, and easily we able to find out how to disable print screen on windows by importing following registry.
1 2 3 | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,37,e0,00,00,54,00,\ 00,00,00,00 |
So, again we start working to create a custom adm file. As because this is a HKLM key, so we need Privilege to import it into registry, and only way to do so is to apply some policy via Computer Configuration, whit which we can force policy on each computer not on individual user.
But suddenly we discover that ADM files don't support reg_binary values, so we have to find out any other alternatives.
5,690 viewsCustom Group Policy(GPO) for Changing Desktop Background Colour
As per requirement, we need to change all client windows (XP, and 2003) desktop BG color, but it's impossible to change BG colour manually over 1000 desktop. So, we have to do it with an automatic process.
First we have to find out what happened on registry, while we changing Desktop BG color, and to do so, we need a tools which take a Windows Registry Snap after and before changing desktop BG color,
RegShot is the best free tools for that,
RegShot (89.2 KiB, 322 hits)
So, finally we able to trace out that registry change,
1 2 | [HKEY_CURRENT_USER\Control Panel\Colors] "Background"="26 26 26" |
Initially we add an extra line on logon script, to change desktop BG color to black,
1 | REG ADD "HKCU\Control Panel\Colors" /v Background /t REG_SZ /d "0 0 0" /f |
It works fine on all Windows XP Machine, but not with few Windows 2000 computer, in that case we are searching for some alternative solution,
Now we decided to create a ADM file for custom group policy, to force BG color change via GPO.
And here we are, with the following adm file we can change BG color to Black, White, Red, Brown, Yellow, Green, Sky, Brown, Blue, Dark Blue, Pink, Grey...

(4 votes, average: 4.75 out of 5)
