-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In v0.2.2 disabling net adapters is not possible under non-admin account #7
Comments
@alexiljin This is expected behavior; when you are not running with administrator privileges, it is not possible to disable devices (you can verify this by attempting to disable a device in the Device Manager). Likewise, the registry key needed to disable USB storage can only be accessed with administrator privileges. I'll update the "Documentation" (the README) to reflect this. Thanks for reporting! |
Done! |
@JLospinoso: would it be possible to run the app (or a version of it) as a service? That way it would work for limited users and have all the access rights necessary to control the devices. |
@alexiljin, it's a good idea, but running as a service puts us in Session 0, outside of the active user. So we could do things like monitor and disable hardware, I'm not sure whether LockWorkstation would work. And SetWindowsHookEx definitely doesn't work. Finally, we wouldn't have access to the user's Systray and so they wouldn't be able to interact with the application I've thought abuot splitting out the architecture so that you can run all the Administrator-level code in a service and interact with the user through low-user code. Maybe it's time to try it.. I'll open a ticket. |
I've installed v0.2.2 from the MSI package. I'm running a non-admin account on my Win8.1 machine. The application's "Disable new net adapters" and "Disable USB Storage" (why is the last word capitalized?) options are disabled. I thought it was due to me being a non-admin, but could not verify due to issue #6.
The text was updated successfully, but these errors were encountered: