Teddd73
Teddd73

Reputation: 11

Windows 10 error 740 with child processes, trying to adjust system time

So I got some child processes that need to be able to adjust System time on a windows 10 system. The way it has been done in the past iterations of Windows was simply forking children as Administrator so they would have permission to edit the system time.

Things I have tried:

I'm not sure what to try next.

Upvotes: 1

Views: 186

Answers (2)

Bill_Stewart
Bill_Stewart

Reputation: 24585

There is now an open-source tool I wrote that is (I think) an improvement on the ntrights tool:

https://github.com/Bill-Stewart/PrivMan/

To grant SeSystemtimePrivilege ("change the system time") to the user1 account, you would write:

PrivMan -a user1 -g SeSystemtimePrivilege

It also has options to revoke privileges/rights (-r), test whether an account has one or more privileges/rights (t), and to output a comma-delimited report containing all accounts and privileges assigned (--csvreport).

Upvotes: 0

Teddd73
Teddd73

Reputation: 11

So I found a work around. I used the 2003 windows resource kit utility 'ntrights.exe' to open up the permissions on windows 10. I ran ntrights.exe from the terminal and then the command:

ntrights -U "UserAccountName" +R SeSystemtimePrivilege

This allowed the process to set the time as necessary without needing administrator privilege.

Upvotes: 0

Related Questions