Netskope Community
06-30-2021 08:33 AM
Hello, I am testing the install script of Netskope via command line. Every time i install the client is disabled, can I enable the client via command line?
Solved! Go to Solution.
06-30-2021 09:13 AM
Once the client is successfully installed it will try and find the logged-in user in your tenant and pull down the nsbranding file. If that is successful it will enable on its own. If that isn't happening be sure your user is provisioned in the tenant appropriately.
That being said there are command line options to start and stop the client.
For Windows:
Restart the Netskope client through Task manager or Services
From cmd (as admin): stagentsvc -stop
From cmd (as admin): stagentsvc -start
For Mac:
Restart the Netskope client from a Mac terminal window
> sudo launchctl unload /Library/LaunchDaemons/com.netskope.stagentsvc.plist
> sudo launchctl load /Library/LaunchDaemons/com.netskope.stagentsvc.plist
06-30-2021 09:13 AM
Once the client is successfully installed it will try and find the logged-in user in your tenant and pull down the nsbranding file. If that is successful it will enable on its own. If that isn't happening be sure your user is provisioned in the tenant appropriately.
That being said there are command line options to start and stop the client.
For Windows:
Restart the Netskope client through Task manager or Services
From cmd (as admin): stagentsvc -stop
From cmd (as admin): stagentsvc -start
For Mac:
Restart the Netskope client from a Mac terminal window
> sudo launchctl unload /Library/LaunchDaemons/com.netskope.stagentsvc.plist
> sudo launchctl load /Library/LaunchDaemons/com.netskope.stagentsvc.plist
06-30-2021 11:13 AM
I approve this message LOL this works!
07-15-2021 03:27 PM
wasn't so lucky. How do you configure Netskope Client on Big Sur for peruserconfig mode - reliably?
So far even Netskope doesn't appear to know...
07-15-2021 03:26 PM
sudo launchctl unload /Library/LaunchDaemons/com.netskope.stagentsvc.plist = "could not find specified service"
07-15-2021 03:36 PM
<<Once the client is successfully installed it will try and find the logged-in user in your tenant and pull down the nsbranding file. If that is successful it will enable on its own. If that isn't happening be sure your user is provisioned in the tenant appropriately.>>
this sounds like email invite mode. But what about peruserconfig mode? Sending emails to hundreds of users is not what Mgmt wants to do if they can help it...
07-15-2021 04:19 PM
Hi Roger,
The solution offered here is in relation to how to stop and start the NS Client service assuming the client has already been installed. It sounds like you are looking for information on actually installing the client on MAC. Email invite is an option, but for larger deployments, it's normally best to use an application like JAMF to do that. Here's some information on deploying MAC with JAMF.
https://docs.netskope.com/en/deploy-netskope-client-with-jamf.html
07-15-2021 04:35 PM
yeah, we are aware of that link, wish we were on JAMF, unfortunately we are using VMWare / Airwatch/Workspace One. The online guided provided by VMWare is about 1/3 the amount of instructions provided for JAMF, so very the VMWare instructions seem very incomplete. We have spent many hours trying to figure out peruserconfig mode, juggling plist and system extension files, and all the while wondering why we have one Mac that works from using email invite mode, but will never work on peruserconfig. Definitely challenging to determine best course of action
07-16-2021 09:57 AM
Roger,
This might get more in-depth and since it's unrelated to the original post would you mind starting a new thread on help installing Netskope Client on MAC via Airwatch? That way we can get more eyes on it and when we have a solution others will be able to find it as well.
07-19-2021 07:59 AM
this was done, new thread entitled "Big Sur 11.4 + Netskope + peruserconfigmode = certain installation issues"
02-14-2022 11:58 AM
my users have upgraded to Big Sur and monterey and for some reason now that terminal cmd does not work. receive "could not find specified Service." Any suggestions for this? did the Plist location change?
02-24-2023 09:17 AM
For Linux (Ubuntu/Debian):
> sudo systemctl restart stagentd
04-15-2022 11:08 AM
For Big Sur and later you'll want to use:
sudo launchctl unload /Library/LaunchDaemons/com.netskope.client.auxsvc.plist
sudo launchctl load /Library/LaunchDaemons/com.netskope.client.auxsvc.plist
09-02-2022 02:00 AM - edited 09-02-2022 02:06 AM
Hello I tried this nothing happens. is there another action to perform after starting the load ?
Thank you
In order to view this content, you will need to sign in to your account. Simply click the "Sign In" button below
Sign In