
Knowledgebase
In this section we put together all kinds of information that we
find useful in our daily work. The material is a collection of
information from various sources including bulletin boards,
mailgroups, manuals, magazines, books, seminar handouts and
independent research.
This information is provided without warranty of any kind. There
is no further support available. Each individual must determine
the applicability and accuracy of this information to their
specific environment.
We use to add at least one line that modifies the registry and by that enable one user to automatically logon after the next boot and start up a cmd-file that runs the rest of the installation.
If there is "sysdiff-packages" they should also be installed here.
In the example below installs what is in the autolog.inf file.
[Commands] "rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\autolog.inf"
[Version] Signature = "$Windows NT$" [DefaultInstall] AddReg = AddReg [AddReg] ; log on as administrator for domain HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","AutoAdminLogon",,"1" HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultUserName",,"Installer" HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultPassword",,"password" HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultDomainName",,"DOMAIN" ; run install script at boot HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","Once",,"C:\INSTALL.CMD" ; do not show startup tips HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Tips","Show",,"hex:00,00,00,00
This will make the user Installer from domain DOMAIN with password password log on at system boot. It will also run the cmd-file c:\install.cmd. To avoid the "tips" windows it also disables the tips function.
Keep in mind that our example above use the Run option and not the RunOnce. It is the responsibility of the install.cmd file to disable the autologon functions after the installation is completed.