cancel
Showing results for 
Search instead for 
Did you mean: 

Can you enable Netskope Client via command line?

Melinda_Lee
New Contributor

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?

1 ACCEPTED SOLUTION

mpray
Netskope
Netskope

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

View solution in original post

9 REPLIES 9

mpray
Netskope
Netskope

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

View solution in original post

I approve this message LOL this works!

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...

sudo launchctl unload /Library/LaunchDaemons/com.netskope.stagentsvc.plist = "could not find specified service"

 

<<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...

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

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

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. 

this was done, new thread entitled "Big Sur 11.4 + Netskope + peruserconfigmode = certain installation issues"