cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
miharix
Engaged Sweeper II
I'm trying to finalize implementation of Lansweeper in our company,
but just can't figure out why the packet deployment isn't working.

All computers are in domain
Lansweeeper installed on WSUS server
Files for in packet deployment installing are on different fileserver
Lansweeper and test masine are on different subsets
File server and Lansweeer are on same subnet

On test machine:
Stock Windows10, fresh install(no modifications)
Windows Firewall disabled

When I try to deploy packet, nothing installs, and also no log, also not after several days.

Is there a Lansweeper debug tool for packet deployment ?


Ps: on some computers we use LsAgent - can you also deploy a packet using LsAgent?
(script download files from https to local computer & silent install using admin credentials)
1 ACCEPTED SOLUTION
miharix
Engaged Sweeper II
Hi,

here are my debugging steps, maybe will help some one.

1. on test machine open "Task Scheduler" -> "Task Scheduler library"
2. on lansweeper run "Lansweeper Connection tester" (C:\Program Files (x86)\Lansweeper\Actions\Devicetester.exe)
3. Run "Test Connection" -> In moment of "Checking Task Scheduler" on test machine press F5 -> If target receives commend you will see for a moment "Deployment Connectiontester" -> Firewall & services on client == OK
3.1. To additionally confirm, that firewall & services on target is OK On lansweeper server open "Task Scheduler" -> "Connect to Another Computer..." and try to connect to target test PC, and add some task
4. On target computer run Firefox -> on lansweeper server CMD:
schtasks /create /s nb-mojstermiha /tn test_firefox /tr "taskkill /im firefox.exe /f" /u "domain\lansweeper.admin" /p "lansweeperuserpassword" /sc ONCE /st 10:00 /sd 22.01.2021
(change to corect date and time some minutes ahead, nb-mojstermiha was my test PC)
If it works the Firefox on target will be killed and taks will appear and stay on target computer
5. repeat 4. but now run CMD as admin, then as lansweeper user
More about schtask: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks-create
On 5. I found out, that wont work if I run the CMD under different user that is not admin -> if lansweeper is ruining under non admin user it probably can't execute the command (the test service Devicetester.exe is typicality run as logged in user )

https://www.lansweeper.com/forum/yaf_postst20081_Lansweeper-Server-Services---Running-as-what-User-acount.aspx#post64511

After changing "services" -> "lansweeper server" to run as lansweeper user deployment it starter working and logs filling.


What GPO in our ~10years old domain makes this I don't know.

View solution in original post

3 REPLIES 3
miharix
Engaged Sweeper II
Hi,

here are my debugging steps, maybe will help some one.

1. on test machine open "Task Scheduler" -> "Task Scheduler library"
2. on lansweeper run "Lansweeper Connection tester" (C:\Program Files (x86)\Lansweeper\Actions\Devicetester.exe)
3. Run "Test Connection" -> In moment of "Checking Task Scheduler" on test machine press F5 -> If target receives commend you will see for a moment "Deployment Connectiontester" -> Firewall & services on client == OK
3.1. To additionally confirm, that firewall & services on target is OK On lansweeper server open "Task Scheduler" -> "Connect to Another Computer..." and try to connect to target test PC, and add some task
4. On target computer run Firefox -> on lansweeper server CMD:
schtasks /create /s nb-mojstermiha /tn test_firefox /tr "taskkill /im firefox.exe /f" /u "domain\lansweeper.admin" /p "lansweeperuserpassword" /sc ONCE /st 10:00 /sd 22.01.2021
(change to corect date and time some minutes ahead, nb-mojstermiha was my test PC)
If it works the Firefox on target will be killed and taks will appear and stay on target computer
5. repeat 4. but now run CMD as admin, then as lansweeper user
More about schtask: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks-create
On 5. I found out, that wont work if I run the CMD under different user that is not admin -> if lansweeper is ruining under non admin user it probably can't execute the command (the test service Devicetester.exe is typicality run as logged in user )

https://www.lansweeper.com/forum/yaf_postst20081_Lansweeper-Server-Services---Running-as-what-User-acount.aspx#post64511

After changing "services" -> "lansweeper server" to run as lansweeper user deployment it starter working and logs filling.


What GPO in our ~10years old domain makes this I don't know.
miharix
Engaged Sweeper II
Hi

Thaks for replay.

Actualy I found, the solution.

Only didn't have the time to write all the debuging steps I needed to take till finding out.
Will do...

For now.. short answer... THIS: https://www.lansweeper.com/forum/yaf_postst20081_Lansweeper-Server-Services---Running-as-what-User-acount.aspx#post64511
pryan67
Champion Sweeper II
Have you restarted the LS service?