Hello Lansweeper community,
I have now tried some way, but I can't get the firewall to be switched off on the client via Lansweeper.
- I cannot copy a PSEXEC to the system because all communication with the client is blocked because of the firewall to the Lansweeper deploy.
- I cannot execute a command because the firewall is on.
- I can't run a powershell script, well you know :-), the firewall is on ...
I tried the following:
(1)
Deploy rule for command with system rights
netsh advfirewall set allprofiles state off
(2)
a PS call with
Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled False
The failure text is translate from German :
Preliminary checks failed. Task registering error. The task was configured with an unsupported combination of account settings and runtime options. (Exception from HRESULT: 0x80041314) Credential: (Domain\Administrator). ShareCredential: (Server\Deploy).
Everything is fine and works when the firewall is offline
I have no idea how it could work, does anyone have an idea?
Addendum:
Yes I know, it is also possible via GPO and task planner, but not all devices are in the domain ..