"SeSystemtimePrivlege not held" may be the cause, but I am running as Administrator so I have the SeSystemtimePrivlege, as confirmed by Ntrights. I can change system time/date as I want after login....
Type: Posts; User: medp7060
"SeSystemtimePrivlege not held" may be the cause, but I am running as Administrator so I have the SeSystemtimePrivlege, as confirmed by Ntrights. I can change system time/date as I want after login....
That's true. We all know that NtSetSystemTime() is there, but it is hard to get it work without proper documents. Someone indeed got it work by hooking it with assembly codes. Unfortunately, I cannot...
Inside Native Application by 1998 Mark Russinovich @
http://doc.sch130.nsc.ru/www.sysinternals.com/ntw2k/info/native.shtml
You are right, most of Native API functions are "undocumented", but I want to find out why it failed. Obviously, it does not support GetLastError() although some earlier native application code did...
Thanks for the makeup, Siavosh. I plan to first find out why NtSetSystemTime() failed. can someone contribute a code to show how to use GetLastError() function. I am thinking of sth like
...
@Quzah.
Thank you so much for your through explanation, I did learnt a lots from it.
I would be grateful if someone could help with this coding, many thanks in advance.
It is a small Native application, the main problem is NtSetSystemTime() failed, although I have the...