Rapid restart when started as non-administrator user / Bug Reports / NetSetMan Support

NetSetMan Support

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

You are not logged in.

#1 2013-11-29 10:07

bomanz
Member
Registered: 2013-11-29
Posts: 3

Rapid restart when started as non-administrator user

Installed NetSetMan. Started NetSetMan from Start Menu as non-administrator user. It began to restart many times rapidly- starts, exits, then new instance starts and then exits and so on. Had to rename executable netsetman.exe in order to stop it. After I had renamed executable then message was displayed that I don't have administrator rights and should install service.

Then logged in as administrator, enabled service. Then successfully started NetSetMan as non-administrative user.

NetSetMan v3.6.1 release 2013-11-26.
Windows 7 64bit SP1. Installed to c:/program files/NetSetMan/.
Administrator rights confirmation is disabled on the computer.

Offline

#2 2013-11-29 13:00

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

Re: Rapid restart when started as non-administrator user

That sounds very strange. I tried several constellations out but was unable to reproduce the problem.
Normally when running the application as a non-admin user the UAC prompt is triggered where you can either enter the credentials of an admin user or cancel. In the latter case you'll receive the message from NetSetMan that you can either provide admin credentials or install the service.
1. What are your UAC-settings?
2. How exactly did you disable the administrator privileges?
3. Did you use NetSetMan before that version and had the same problem?

Offline

#3 2013-11-29 13:15

bomanz
Member
Registered: 2013-11-29
Posts: 3

Re: Rapid restart when started as non-administrator user

1. What are your UAC-settings?

User account control settings: Never notify

2. How exactly did you disable the administrator privileges?

User is member of "Users" and "Home Users" groups. It is not member of "Administrators" group.

3. Did you use NetSetMan before that version and had the same problem?

No, this is the first installation.

Offline

#4 2013-11-29 13:47

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

Re: Rapid restart when started as non-administrator user

If you only set UAC to "Never show" like this:
support-uac1.png

then running an application with a restricted user will bring up a dialog like this:
support-uac2.png

Since you didn't see this dialog probably some other changes were made additionally. Do you know if you changed some UAC related configurations at some other dialogs or maybe even directly in the registry (like ConsentPromptBehaviorUser or EnableLUA)?
Could you please export this registry path and send it to me for comparison? (contact, please zip the file so the attachment isn't blocked)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Offline

#5 2013-12-03 09:41

bomanz
Member
Registered: 2013-11-29
Posts: 3

Re: Rapid restart when started as non-administrator user

Here are the registry settings:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000000
"ConsentPromptBehaviorUser"=dword:00000003
"EnableInstallerDetection"=dword:00000001
"EnableLUA"=dword:00000000
"EnableSecureUIAPaths"=dword:00000001
"EnableUIADesktopToggle"=dword:00000000
"EnableVirtualization"=dword:00000001
"PromptOnSecureDesktop"=dword:00000000
"scforceoption"=dword:00000000
"FilterAdministratorToken"=dword:00000000

Offline

#6 2013-12-04 00:07

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

Re: Rapid restart when started as non-administrator user

Yes, I received your registry export and already compared to the test systems. At first I wasn't able to reproduce this problem, because even after turning off UAC it still worked as expected. However, I just noticed that after turning UAC off the system needs to be restarted to have to full effect. Now I see the problem: It definitely only occurs with the following constellation:
- Restricted user account
- UAC completely turned off
- NSM Service not activated
Probably the reason why this problem hasn't been brought up earlier is because it's not a common combination. But nevertheless it's something that has to be taken care of. I'll try to find the best solution for the next version.
Thanks for reporting this bug!

Offline

#7 2013-12-04 11:33

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

Re: Rapid restart when started as non-administrator user

I found a solution. This problem will be fixed in the next version.

Offline