Allow/Disallow a user from changing system time
-
Hi all, I am working on a feature where in we can allow/disallow changing system time to any user. We can run this application from an administrator's account and set if a particular user can change system time or not. Even the administrator (who itself is logged on) itself can allow/disallow himself changing time. While googling I found that there is some, The system user right SeSystemtimePrivilege that controls the ability to set the system time. I could not find how to complete my feature via the privilege SeSystemtimePrivilege using C#. Can somebody help me how to that using c# (or even C++). Even if there is some other way of implementing this feature, please let me know. Thanks in Advance Best Regards Aseem
-
Hi all, I am working on a feature where in we can allow/disallow changing system time to any user. We can run this application from an administrator's account and set if a particular user can change system time or not. Even the administrator (who itself is logged on) itself can allow/disallow himself changing time. While googling I found that there is some, The system user right SeSystemtimePrivilege that controls the ability to set the system time. I could not find how to complete my feature via the privilege SeSystemtimePrivilege using C#. Can somebody help me how to that using c# (or even C++). Even if there is some other way of implementing this feature, please let me know. Thanks in Advance Best Regards Aseem
You have posted exactly the same question in
C/C++/MFC
forum (here[^]) and inSystem Admin
forum (here[^]). I know that sometimes it is hard to determine the best forum for a given question, but it is not a good idea to post the same question to multiple forums. Try to choose the most appropriate forum for your questions. Please read the forum rules[^].