Jump to content

Recommended Posts

Antipova Anna
Posted

Advice and Solutions (Forum Knowledgebase) Disclaimer. Read before using materials.

In NAgent 15, klmover was updated and now requires NAgent uninstallation password, if it is set in NAgent's policy. Right now the password can't be passed to klmover as an argument, but it can be supplied via echo:

echo <password>|klmover -address <administration server ip>

Because cmd doesn't parse quotes and spaces in echo properly, if klmover is started from cmd and the password contains characters requiring quotes, klmover should be run from powershell.

Powerhell has a Start-Process command that allows to run a process as a different user, in this case it can be used in a batch script like this:

cd "C:\Program Files (x86)\Kaspersky Lab\NetworkAgent\"
powershell -Command "Start-Process powershell '-Command echo <password>|.\klmover.exe -address <address>' -Verb RunAs"

But if it is run as a scheduled task in a group policy, it would be better to set the task to run as a user with administrator privileges and set it to run with highest privileges.

Previous NAgent klmover versions are not compatible with NAgent 15. 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...