title: SE_SYSTEMTIME_NAME privilege does not exists
body: <p>I am trying to change the system time from a user account (not from admin account) on windows7 machine. In order to change the system time, it is mentioned in this <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms724942(v=vs.85).aspx" rel="nofollow">link</a> that we need to have <code>SE_SYSTEMTIME_NAME</code> privilege. Here is my python script.</p>
  
  <pre><code>import os,sys
  import win32api
  import win32security
  
  priv_flags = win32security.TOKEN_ADJUST_PRIVILEGES | win32security.TOKEN_QUERY
  hToken = win32security.OpenProcessToken (win32api.GetCurrentProcess (), priv_flags)
  privilege_id = win32security.LookupPrivilegeValue (None, "SE_SYSTEMTIME_NAME")
  win32security.AdjustTokenPrivileges (hToken, 0, [(privilege_id, win32security.SE_PRIVILEGE_ENABLED)])
  
  win32api.SetSystemTime(2015,11,20,20,5,30,0,0)
  </code></pre>
  
  <p>But when i execute this script i am getting the following error. Here is the traceback.</p>
  
  <pre><code>Traceback (most recent call last):
    File "D:\Public\Script1.py", line 7, in &lt;module&gt;
      privilege_id = win32security.LookupPrivilegeValue (None, "SE_SYSTEMTIME_NAME")
  error: (1313, 'LookupPrivilegeValue', 'A specified privilege does not exist.')
  </code></pre>
  
  <p>Why i couldn't able to acquire the particular privilege. What am i doing wrong?</p>