/build/static/layout/Breadcrumb_cap_w.png

How to deploy application without join domain via K1000

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

Answers (3)

Posted by: rmeyer 12 years ago
Second Degree Blue Belt
1

I've done like this:

Commandline:

%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"
wscript.sleep(10000)
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
next
' ******************************************************
' * 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...)"
wscript.sleep(10000)
Scripttime = Scripttime + 10
RoundTime = RoundTime + 10
End If
Loop



End Sub

I hope it helps :)


Comments:
  • oh, forgot to say, run it right after installing the agent =) - rmeyer 12 years ago
Posted by: jdornan 12 years ago
Red Belt
1

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. 

http://blog.kace.com/2012/04/10/k2000-kloser-look-importing-software-installers-from-k1000/

Posted by: jknox 12 years ago
Red Belt
1

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.


Comments:
  • 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. - manpang 12 years ago
    • 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. - jknox 12 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ