Richard Parmiter

Virtualisation blog and Knowledge Base

  • You are here: 
  • Home
  • Scripts/Reg

Hide the language bar

Posted on August 9th, 2008

VB script to hide the language bar from the Windows 2003 taskbar. Call from logon script.

WshShell.RegWrite “HKCU\Software\Microsoft\CTF\LangBar\ShowStatus”, “2″, “REG_DWORD”
WshShell.RegWrite “HKCU\Software\Microsoft\CTF\LangBar\ExtraIconsOnMinimized”, “0″, “REG_DWORD”
WshShell.RegWrite “HKCU\Software\Microsoft\CTF\Disable Thread Input Manager”, “1″, “REG_DWORD”
WshShell.RegWrite “HKCU\Software\Microsoft\MSUTB\ShowDeskBand”, “1″, “REG_DWORD”

Tags: , , , , ,
Filed under Scripts/Reg, Windows 2003 | 1 Comment »

Run Visio viewer and Visio on the same machine

Posted on August 9th, 2008

To enable some users to view Microsoft visio documents with visio viewer and other users to use the full product.

Follow this order:

  • Install visio viewer
  • install visio 2003 standard
  • run this regfile to re-associate .vsd files with viewer

This will default the .vsd files with the viewer
Read the rest of this entry »

Tags: , , , , , , ,
Filed under Applications, Scripts/Reg | 1 Comment »

Create date stamped log files

Posted on August 9th, 2008

Use the following to create date stamped log files

for /F “tokens=2,3,4 delims=/ ” %%i in (‘date /t’) do set datefile=%%i%%j%%k.log
Query User > %datefile%

Place in a cmd batch file and run on a schedule to create the logs.

Tags: , , , , , ,
Filed under Scripts/Reg | No Comments »

Ads

Ads