[python-win32] SetSystemTime: A required privilege is not held by the client
mail at timgolden.me.uk
Wed Jun 24 16:31:44 CEST 2009
> Tim Golden wrote:
>> Robert wrote:
>>> SetSystemTime on Vista admin account throws:
>>> (1314, 'SetSystemTime', 'A required privilege is not held by
>>> the client.')
>>> Not known from previous Windows versions.
>>> With what switch or whatever can this be enabled?
>> According to the docs:
>> (warning: URL will self-destruct in two months)
>> this operation automatically enables the SE_SYSTEMTIME_NAME priv
>> which is disabled by default. But if your user doesn't *have* the
>> priv to start with, it won't be enabled and you'll get the error message
>> I don't run Vista, but I assume it has some kind of user-management
>> user interface? Find whatever bit of that deals with privileges (*not*
>> and add this priv to the user in question.
> does anybody with Vista know if there is a UI tool for setting this
> SE_SYSTEMTIME_NAME privilege in an account - how ?
(Goodness, that reply took a long time to come through :) )
Try Start > Run > secpol.msc - that works on XP
More information about the python-win32