I use SCCM, Operating System Deployment (OSD) and Microsoft Deployment Toolkit (MDT) 2010 update 1 to deploy Windows 7 SP1 (x64) and application installs during the build process. The problem was a .vbs script which populates some auto-logon keys called via SCCM OSD during the application installation process was being hit with registry redirection, forcing any registry entries to go into
HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon. Continue reading
I am always forgetting this so I have posted it so I can refer back to this when needed. Sometimes via a command line you want to be able to pass command line parameters to a vbscript. e.g.
cscript.exe myscript.vbs /Parameter:value
The vbscript to handle this is as follow:
Set colNamedArguments = Wscript.Arguments.Named
If colNamedArguments.Exists("Parameter") Then
Wscript.echo "Parameter Exists!"
Wscript.echo "Parameter = " & _
For more information see the following microsoft article : http://technet.microsoft.com/en-us/library/ee156618.aspx