Profile Activation request/error / Feature Requests / NetSetMan Support

NetSetMan Support

Search for already answered questions about NetSetMan (Pro) or ask new ones

You are not logged in.

#1 2016-06-13 20:51

Peter_R
Member
Registered: 2016-04-23
Posts: 24

Profile Activation request/error

NSM 4.1.4, Windows 10 Pro x64

When a profile is being activated, a dialog box comes up and shows the status while it's being activated.
Even that i have selected "Close activation dialog automatically" the dialog is not being closed when the profile is completed. This might be a bug in the program.

My request:
Could you please an option, so it will be possible NOT to have the profile activation dialog being displayed at all?
This way, a profile could be activated without the user see it.

Offline

#2 2016-06-13 23:28

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: Profile Activation request/error

The activation dialog remains open if an error occurred during the activation. Otherwise the user wouldn't be aware of activation problems. If there's no error then the dialog will be closed one second after the profile activation is complete. Do you have errors during your activation?

If you don't want to get any visual feedback of the activation process at all after manually triggering a profile activation, you might not want to use the UI at all. In that case you can use the command line activation that provides several parameters for not showing the activation process as all.
For example:

netsetman.exe -ah 5
NetSetMan Pro - Command Line Parameters:
-a #   Activate profile with ID #
-as #  Activate profile and close activation dialog on success
-aw #  Activate profile with Windows notification (balloon tooltip)
-ah #  Activate profile hidden as tray icon
         Examples:
         netsetman.exe -a 0        (activates profile with ID 0)
         netsetman.exe -ah 5       (activates profile #5 hidden in tray)

For more command line options use the "-?" parameter.

Offline

#3 2016-06-14 09:28

Peter_R
Member
Registered: 2016-04-23
Posts: 24

Re: Profile Activation request/error

I am using those command line parameters.
In the start folder of my profile, Windows is running this StartUp.bat file after logon:
@ECHO OFF

REM Wait 5 seconds before starting script to enable network connection
REM TIMEOUT 5

START "" "C:\Program Files (x86)\NetSetMan\netsetman.exe" -as 5
REM LET NetSetMan do it's job
TIMEOUT 15

START "" "C:\Program Files (x86)\NetSetMan\netsetman.exe" -m
EXIT

Profile 5 is configured only to disable my network card, this way I am forcing NSM to detect a profile on startup.

Why am I doing this?

Because NSM do not run autoswitch on each start of Windows if there are not changes in the setup and because I run some scripts after each profile is being activated.
These scripts HAS to run after logon even if it's the same profile is being used as when I logged off.

You can try to test my bat-file.

Offline

#4 2016-06-14 09:40

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: Profile Activation request/error

In your previous message you've described the "Close activation dialog automatically" that only applies to the GUI usage. According to your message today you're having trouble with the command line activation. For the "-as" parameter we can confirm that there's a bug in version 4.1.4 that treats "-as" the same way as "-a". This will be fixed in the soon to be released version 4.2.0. To get a solution immediately use "-ah" or "-aw" instead (see description in our previous message).

Btw: For version 4.2.1 we're planning to implement several new options for the AutoSwitch feature, so you probably won't need your script anymore.

Offline

#5 2016-06-14 10:19

Peter_R
Member
Registered: 2016-04-23
Posts: 24

Re: Profile Activation request/error

That sounds great! Any idea of when version 4.2.0 will be released?

Offline

#6 2016-06-14 10:20

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: Profile Activation request/error

When it's done. wink

Offline