First of all thank you whitenight639 for your information on the scripts.
Could you please be a bit more detailed on a few pointers for me here? I'm trying to replicate what you have done with FOG when it comes to renaming the clients based off of serial # + rebooting.
I'm attempting to do all of this via sysprep.inf
;SetupMgrTag
[unattended]
OemSkipEula=Yes
InstallFilesPath=C:\sysprep\i386
TargetPath=\WINDOWS
[GuiUnattended]
AdminPassword="*******************"
EncryptedAdminPassword=YES
TimeZone=20
OemSkipWelcome=1
OEMSkipRegional=1
AutoLogon=Yes
AutoLogonCount=1
[userData]
ProductKey=WDWCD-QBBPF-*****-*****-*****
FullName="XXXXXXXXXX"
OrgName="XXXXXXXXXX"
ComputerName=*
[TapiLocation]
AreaCode=XXX
[identification]
JoinWorkgroup=WORKGROUP
[Networking]
InstallDefaultComponents=Yes
[branding]
BrandIEUsingUnattended=Yes
[Proxy]
Proxy_Enable=0
Use_Same_Proxy=0
[GuiRunOnce]
Command0="cscript.exe %systemdrive%\system32\compname.vbs"
I have tested your .vbs standalone and it works as intended on our hardware. Now I'm looking to implement it into our fog images, and I'm hoping you can point me in the right direction.
1. System is sysprep'ed and auto logs in after the final restart.
2. I see a dos window appear during the inital login, which tells me that the script is indeed running. However I do not get a window confirming the change.
Could you please tell me how you get your commands to run? Do you run a .bat script in which a .vbs is contained?
I'm adding the systems to AD via FOG which is working great.
Any help would be appreciated.
Thanks,
--ssx--