hi all,
i want to prevent the user to change the system time from
windows using my driver?
Thanks in advance
manish k. sharma
hi all,
i want to prevent the user to change the system time from
windows using my driver?
Thanks in advance
manish k. sharma
ExRegisterCallback with \Callback\SetSystemTime
or the deprecated way that does work the way you want is to hook
ZwSetSystemTime and ZwSetSystemInformation in the SSDT.
There is also KeSetTimeUpdateNotifyRoutine but nowhere is described how it
works.
Regards,
Daniel Terhell
Resplendence Software Projects Sp
xxxxx@resplendence.com
http://www.resplendence.com
Manish Sharma" wrote in message news:xxxxx@ntfsd…
> hi all,
> i want to prevent the user to change the system time from
> windows using my driver?
>
>
> Thanks in advance
> manish k. sharma
>
hi,
And thanks for reply. But my question is “Whenever a user right
clicks on the system tray(which is present at the right side bottom
corner) for adjust or change the time and date a window is pop up(it
shows clock and clender) i am intrested to stop the window to pop up
so that user could not able to change the system time.”
Manish K. Sharma
On Wed, 23 Mar 2005 18:00:41 +0100, Daniel Terhell
wrote:
> ExRegisterCallback with \Callback\SetSystemTime
> or the deprecated way that does work the way you want is to hook
> ZwSetSystemTime and ZwSetSystemInformation in the SSDT.
> There is also KeSetTimeUpdateNotifyRoutine but nowhere is described how it
> works.
>
> Regards,
>
> Daniel Terhell
> Resplendence Software Projects Sp
> xxxxx@resplendence.com
> http://www.resplendence.com
>
> Manish Sharma" wrote in message news:xxxxx@ntfsd…
> > hi all,
> > i want to prevent the user to change the system time from
> > windows using my driver?
> >
> >
> > Thanks in advance
> > manish k. sharma
> >
>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
Hi, check out Control Panel -> Administrative Tools -> Local Security
Policy -> Local Policies -> User Rights Assignment -> Change the system
time.
/Daniel
“Manish Sharma” wrote in message news:xxxxx@ntfsd…
> hi,
> And thanks for reply. But my question is “Whenever a user right
> clicks on the system tray(which is present at the right side bottom
> corner) for adjust or change the time and date a window is pop up(it
> shows clock and clender) i am intrested to stop the window to pop up
> so that user could not able to change the system time.”
>
> Manish K. Sharma
>
>
>
> On Wed, 23 Mar 2005 18:00:41 +0100, Daniel Terhell
> wrote:
>> ExRegisterCallback with \Callback\SetSystemTime
>> or the deprecated way that does work the way you want is to hook
>> ZwSetSystemTime and ZwSetSystemInformation in the SSDT.
>> There is also KeSetTimeUpdateNotifyRoutine but nowhere is described how
>> it
>> works.
>>
>> Regards,
>>
>> Daniel Terhell
>> Resplendence Software Projects Sp
>> xxxxx@resplendence.com
>> http://www.resplendence.com
>>
>> Manish Sharma" wrote in message news:xxxxx@ntfsd…
>> > hi all,
>> > i want to prevent the user to change the system time from
>> > windows using my driver?
>> >
>> >
>> > Thanks in advance
>> > manish k. sharma
>> >
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as: xxxxx@gmail.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>
Hi Daniel,
Thanks for your valuable help, I want to do exactly
same thing through my driver or some exe .how can i do this please
help me, Is there any API in driver programming ?. I have both DDK and
IFS kit.
Thank you once again
Manish K. Sharma
On Thu, 24 Mar 2005 12:18:44 +0100, Daniel Terhell
wrote:
> Hi, check out Control Panel -> Administrative Tools -> Local Security
> Policy -> Local Policies -> User Rights Assignment -> Change the system
> time.
>
> /Daniel
>
> “Manish Sharma” wrote in message news:xxxxx@ntfsd…
> > hi,
> > And thanks for reply. But my question is “Whenever a user right
> > clicks on the system tray(which is present at the right side bottom
> > corner) for adjust or change the time and date a window is pop up(it
> > shows clock and clender) i am intrested to stop the window to pop up
> > so that user could not able to change the system time.”
> >
> > Manish K. Sharma
> >
> >
> >
> > On Wed, 23 Mar 2005 18:00:41 +0100, Daniel Terhell
> > wrote:
> >> ExRegisterCallback with \Callback\SetSystemTime
> >> or the deprecated way that does work the way you want is to hook
> >> ZwSetSystemTime and ZwSetSystemInformation in the SSDT.
> >> There is also KeSetTimeUpdateNotifyRoutine but nowhere is described how
> >> it
> >> works.
> >>
> >> Regards,
> >>
> >> Daniel Terhell
> >> Resplendence Software Projects Sp
> >> xxxxx@resplendence.com
> >> http://www.resplendence.com
> >>
> >> Manish Sharma" wrote in message news:xxxxx@ntfsd…
> >> > hi all,
> >> > i want to prevent the user to change the system time from
> >> > windows using my driver?
> >> >
> >> >
> >> > Thanks in advance
> >> > manish k. sharma
> >> >
> >>
> >> —
> >> Questions? First check the IFS FAQ at
> >> https://www.osronline.com/article.cfm?id=17
> >>
> >> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
> >>
> >
>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
Please move this conversation to ONE place, cross-posting is explicitly
prohibited in the joining notes that you didn’t read.
If this conversation belongs on any of these lists (which is up for debate)
it’s on NTDEV. Please do not post under this thread again.
OSR List Slave
“Manish Sharma” wrote in message news:xxxxx@ntfsd…
> Hi Daniel,
> Thanks for your valuable help, I want to do exactly
> same thing through my driver or some exe .how can i do this please
> help me, Is there any API in driver programming ?. I have both DDK and
> IFS kit.
>
> Thank you once again
> Manish K. Sharma
>
>
>
> On Thu, 24 Mar 2005 12:18:44 +0100, Daniel Terhell
> wrote:
>> Hi, check out Control Panel -> Administrative Tools -> Local Security
>> Policy -> Local Policies -> User Rights Assignment -> Change the system
>> time.
>>
>> /Daniel
>>
>> “Manish Sharma” wrote in message
>> news:xxxxx@ntfsd…
>> > hi,
>> > And thanks for reply. But my question is “Whenever a user right
>> > clicks on the system tray(which is present at the right side bottom
>> > corner) for adjust or change the time and date a window is pop up(it
>> > shows clock and clender) i am intrested to stop the window to pop up
>> > so that user could not able to change the system time.”
>> >
>> > Manish K. Sharma
>> >
>> >
>> >
>> > On Wed, 23 Mar 2005 18:00:41 +0100, Daniel Terhell
>> > wrote:
>> >> ExRegisterCallback with \Callback\SetSystemTime
>> >> or the deprecated way that does work the way you want is to hook
>> >> ZwSetSystemTime and ZwSetSystemInformation in the SSDT.
>> >> There is also KeSetTimeUpdateNotifyRoutine but nowhere is described
>> >> how
>> >> it
>> >> works.
>> >>
>> >> Regards,
>> >>
>> >> Daniel Terhell
>> >> Resplendence Software Projects Sp
>> >> xxxxx@resplendence.com
>> >> http://www.resplendence.com
>> >>
>> >> Manish Sharma" wrote in message
>> >> news:xxxxx@ntfsd…
>> >> > hi all,
>> >> > i want to prevent the user to change the system time from
>> >> > windows using my driver?
>> >> >
>> >> >
>> >> > Thanks in advance
>> >> > manish k. sharma
>> >> >
>> >>
>> >> —
>> >> Questions? First check the IFS FAQ at
>> >> https://www.osronline.com/article.cfm?id=17
>> >>
>> >> You are currently subscribed to ntfsd as: xxxxx@gmail.com
>> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
>> >>
>> >
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as: xxxxx@gmail.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>
> And thanks for reply. But my question is "Whenever a user right
clicks on the system tray(which is present at the right side bottom
corner) for adjust or change the time and date a window is pop up(it
shows clock and clender) i am intrested to stop the window to pop up
so that user could not able to change the system time."
Absolutely bad idea.
The user will reboot the machine and change the date/time from the BIOS setup
screen. Your software will not be able to block this.
Also - any ideas of producing software which will make users to spit (and
disappearing of such a control panel - will) - are bad ideas.
Use native Windows security and “Change The System Time” privilege. By default,
only admin users are allowed to do this.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com