Dear All,

Please advise me how to deploy application without join domain via K1000? because I have some issue when I finish to deploy OS with K2000 and then I need to use K1000 to deploy application but it didn't work.

PS. My plan is need to use K2000 to deploy Windows 7 (x64) and then use K1000 to deploy application after that we will join domain. Please advise me the best practices how to do thanks.

0 Comments   [ + ] Show Comments


Please log in to comment



I've done like this:


%windir%\system32\cmd.exe /c cscript.exe WaitForInstallation-W7-NewAgent.vbs

Script: WaitForInstallation-W7-NewAgent.vbs

 ' ********************************************************************************************
' * Script to wait untill the Inventort and software installation is done before continueing *
' * By René Meyer - 2010 *
' * Commandline: %windir%\system32\cmd.exe /c cscript.exe WaitForInstallation-W7-NewAgent.vbs //NOLOGO *
' ********************************************************************************************

Dim oShell
Set oShell = CreateObject("Wscript.Shell")

wscript.echo "Waiting for KACE to start the software installation..."
WaitForProcessToClose "runkbot.exe"
WaitForProcessToClose "runkbot.exe"
dim Scripttime, i, RoundTime, RoundCount
Scripttime = 180
RoundCount = 0

'* Change the 2 values below to config how long/how meny times it should run before continuing *
MaxRounds = 2
MinRoundTime = 90
'* It will not run more than the "MaxRounds" *
'* If it takes less than the "MinRoundTime" it will *
'* consider the round done and go to next round. *
'* If you set MinRoundTime too low the script will *
'* never finish :) *

' Running the KBScriptRunner.exe untill it takes less than MinRoundTime for it to finish or MaxRounds in total
for i = 1 to 3
oShell.Run "cmd.exe /C " & chr(34) & "C:\Program Files (x86)\Dell\KACE\runkbot.exe"& chr(34) & " 4 0", 1, True
oShell.Run "cmd.exe /C " & chr(34) & "C:\Program Files (x86)\Dell\KACE\runkbot.exe" & chr(34) & " 6 0", 1, True
wscript.echo "I = " & i
' ******************************************************
' * Waiting for the KBOXClient.exe process to finish...*
' ******************************************************
Sub WaitForProcessToClose(processname)
Dim strComputer
Dim objProcess
Dim colProcess
Dim objWMIService
Dim Count

strComputer = "."

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")

Dim l_StartTime
l_StartTime = Now

Do While True
Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = '" & processname & "'")

If colProcess.Count = 0 Then
Exit Sub
End If
If Abs(DateDiff("s", l_StartTime, Now)) > 5 Then

' wscript.echo "Kace agent is installing software, Please wait... (Been running for " & left(Scripttime/60,4) & " min...)"
Scripttime = Scripttime + 10
RoundTime = RoundTime + 10
End If

End Sub

I hope it helps :)

Answered 11/28/2012 by: rmeyer
Second Degree Blue Belt

  • oh, forgot to say, run it right after installing the agent =)
Please log in to comment

Not sure i completely understand the question but you can set up the app installation as a post install task. If you already have it set up in the K1000 as a a managed install you can import that into the K2000 Asa a post install task. 

Check it out here.

Answered 11/26/2012 by: jdornan
Red Belt

Please log in to comment

A post install task would defintely work.

Otherwise, the K1000 doesn't need to the system to be on the domain to deploy an application, just needs the agent is installed.  The system would need to be able to check into the K1000, after that, deploy your application as normal.

The one caveat to that would be if the application needed admin credentials, you would have to use local administrator credentials until it joined the domain.

Answered 11/27/2012 by: jknox
Red Belt

  • Hi jknox,
    I already test deploy application without join Domain by K1000 but I didn't work so do you have any idea? please advise me thanks.
    • Does the install use domain credentials? It would fail without the domain join if so. Otherwise, I'd need to know more about how the install is set up.
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja