Friends,
I have to grant SHUTDOWN privilege to an ordinary user.
How this can be achieved?
J1yantMore Information:
- A computer can be shut down using the Win32Shutdown method, specifying 1 as the parameter value
- A part of Remote Desktop is to hide the Shutdown button, so there is no simple way for the user to restart their PC unless they're installed
- my user the return error is (no privilege) in the web i found how to change the privilege for shutdown and inserted it in my module
- local Administrators group, I think the privilege is already in place
- is used in this case to determine whether to assign the shutdown privilege
- 10, the DROP privilege is also required in order to use the statement ALTER TABLE
More:


LinkBack URL
About LinkBacks
Reply With Quote

























































Bookmarks