Mike Glynn <gl...@earthlink.net> wrote in article
<#SqnPk9W...@uppssnewspub04.moswest.msn.net>...
When you do RUNONCE with autologon as administrator to local machine?
How do you specific where to logon to, " To the Domain" or " To the
local station" Because after unattended installation, on the Logon
Box, the domain is default to actual domain instead of local station ?
How do you get away from it?
My E-mail address is walte...@cellone-sf.com. Thanks a lot.
I'd rather you hire me <g>, but sure, I'll give away my secrets.
Sorry about the line wraps.
$OEM$\CMDLINES.TXT
==========
[Commands]
"rundll32 setupapi,InstallHinfSection DefaultInstall 128
.\Generic.INF"
$OEM$\Generic.INF
==========
; Run the additional batch file
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","SetupBat",0,"cmd
/c C:\Temp\SetupBat.bat"
$OEM$\C\Temp\SetupBat.bat
==========
rundll32 setupapi,InstallHinfSection DefaultInstall 128
C:\Temp\DelReg.inf
$OEM$\C\Temp\DelReg.inf
==========
[Version]
Signature = "$Windows NT$"
[DefaultInstall]
DelReg = DelReg
[DelReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","SetupBat"
On Tue, 13 May 1997 15:56:24 GMT, ple...@cadvision.com (Bradley Plett)
wrote:
>>.... Could you tell me how to
>>use the "Run" entry with a batch files and remove the Run entry from
>>the registry. My E-mail address is walte...@cellone-sf.com
>
>I'd rather you hire me <g>, but sure, I'll give away my secrets.
>Sorry about the line wraps.
>
>$OEM$\CMDLINES.TXT
>==========
>[Commands]
>"rundll32 setupapi,InstallHinfSection DefaultInstall 128
>\Generic.INF"
>
>$OEM$\Generic.INF
>==========
>; Run the additional batch file
>HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","SetupBat",0,"cmd
>/c C:\Temp\SetupBat.bat"
>
>$OEM$\C\Temp\SetupBat.bat
>==========
>rundll32 setupapi,InstallHinfSection DefaultInstall 128
>C:\Temp\DelReg.inf
>
>$OEM$\C\Temp\DelReg.inf
>==========
>[Version]
>Signature = "$Windows NT$"
>
>[DefaultInstall]
>DelReg = DelReg
>
>[DelReg]
>HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","SetupBat"
>
Walter Lee
E-mail:walte...@cellone-sf.com
On Fri, 09 May 1997 16:54:47 GMT, ple...@cadvision.com (Bradley Plett)
wrote:
>>The NT4 Unattended installation supports the use of a RunOnce registry
>>entry that will run a script or batch file upon first login. Has nayone
>>used this and made it work? I have been unsucessful.
>
>Yes, I've had this working. The thing I found, though, was that not
>all components of NT are available when RunOnce gets used during
>unattended installation. The RunOnce entry seems to get executed too
>soon (before the first actual login). For example, I was not able to
>do much in the line of networking (anything using "net use") at that
>point. What I ended up doing instead was using the "Run" entry with a
>batch file and then the last thing I do in the batch file is remove
>the Run entry from the registry.
>
>Good luck!
>Brad.
Thank-you very much - I'll try that. This may explain the problem!
Brad.