First issue:
So I created a new DeployWiz pane and called it DeployWiz_ComputernameOnly vbs and xml so that I could eliminate the Join domain and OU sections and only have the computer name as an option. I also wanted to make computer names to nothing above or
below 7 characters. I had followed this tutorial: https://vimeo.com/121684296 (sorry if external links are not allowed) which came pretty close to fitting my needs.
The issue I am having with this is that now my images are creating random computer names. Each computer name starts off with comskip-*7 random characters*
Here is the VBS scrip I am running:
' // ***************************************************************************
' //
' // Copyright (c) Microsoft Corporation. All rights reserved.
' //
' // Microsoft Deployment Toolkit Solution Accelerator
' //
' // File: DeployWiz_Initialization.vbs
' //
' // Version: 6.3.8298.1000
' //
' // Purpose: Main Client Deployment Wizard Initialization routines
' //
' // ***************************************************************************
Option Explicit
Function InitializeComputerNameOnly
If UCase(oEnvironment.Item("SkipComputerNameOnly")) = "YES" then
ComputerNameOnly.disabled = true
End if
End Function
Function ValidateComputerNameOnly
' Check Warnings
ParseAllWarningLabels
If Len(ComputerNameOnly.value) > 7 then
InvalidChar.style.display = "none"
TooLong.style.display = "inline"
ValidateComputerNameOnly = false
ButtonNext.disabled = true
ElseIf IsValidComputerName ( ComputerNameOnly.Value ) then (I also tried) Len(ComputerNameOnly.value) < 8 then
ValidateComputerNameOnly = TRUE
InvalidChar.style.display = "none"
TooLong.style.display = "none"
Else
InvalidChar.style.display = "inline"
TooLong.style.display = "none"
ValidateComputerNameOnly = false
ButtonNext.disabled = true
End if
End function
''''''''''''''''''''''''''''
Second issue:
I have my custom ini with rules to join the domain and other things which works fine except when I add the line to join the correct OU. Here is a copy of my ini:
Default]
OSInstall=YES
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
JoinDomain=DomainName.com
DomainAdmin=DomainJoinAccount
DomainAdminDomain=DomainName.com
DomainAdminPassword=Password
TimeZoneName=Eastern Standard Time
MachineObjectOU=Windows7
EventService=http://MyServer'sName:980
Third issue:
I am also installing chrome browser and 7zip using the Install app task sequence and both apps install just fine with the exception that after the deployment is done I receive two warnings with the message:
Unable to set working directory (-2147024832)
Not sure why these warnings are being posted when apps.
Any help or input will be greatly appreciated and thank you in advance!