|
-
May 6th, 2006, 10:40 PM
#1
Thread Starter
Addicted Member
Locking Windows clock
Hello ppl
I need to find a way to prevent the users of computers that run my application from changing the time an date (Windows' clock).
The OS is windows home edition and there is no administrative option for limiting such acts as fa as I can see.
Any suggestions?
Thanks
In case you are wondering my application needs accurate time and date reading. By changing the clock setting potential users can fool the system to allow unauthorized (unscheduled) actions. That's what I am trying to prevent.
Don't let your schooling get in the way of your education.
-
May 6th, 2006, 11:02 PM
#2
Re: Locking Windows clock
Put an Inet control in your program and query a time server periodically. You can't prevent users from doing things to the computer when your program isn't running.
-
May 7th, 2006, 10:02 AM
#3
Re: Locking Windows clock
Yes. I think, if windows is not allowing you to restrict it then how vb will do that. I don't think it's possible. As Al42 said, you need to query the time server.
-
May 7th, 2006, 10:26 AM
#4
Thread Starter
Addicted Member
no can do!
The application will be running on 3 sepate computers. So time server is not avaialble. Also it will be running constantly (users cannot close the program).
There has to a be a way to do this, how?
Don't let your schooling get in the way of your education.
-
May 7th, 2006, 06:22 PM
#5
Re: no can do!
 Originally Posted by SaharaWizard
There has to a be a way to do this
Why?
-
May 8th, 2006, 11:23 AM
#6
Thread Starter
Addicted Member
Re: Locking Windows clock
Users are logging into this computers for specific purposes (education) the application is suppposed to monitor their progres. It will run as long as comuter is on. If users are able to cheat the time by changing the clock and getting more time the whole exercise becomebes useless.
Don't let your schooling get in the way of your education.
-
May 8th, 2006, 11:24 AM
#7
Thread Starter
Addicted Member
Re: Locking Windows clock
Users are logging into this computers for specific purposes (education) the application is suppposed to monitor their progres. It will run as long as comuter is on. If users are able to cheat the time by changing the clock and getting more time the whole exercise becomebes useless.
So question is how to I read the coorect time or prevent them frm changing the clock??
Don't let your schooling get in the way of your education.
-
May 8th, 2006, 11:33 AM
#8
Re: Locking Windows clock
Then perhaps use something like GetTickCount to monitor the time of the tasks (i presume it's some sort of test) instead to querying the system time.
-
May 9th, 2006, 07:31 PM
#9
Thread Starter
Addicted Member
Re: Locking Windows clock
Don't let your schooling get in the way of your education.
-
May 9th, 2006, 07:35 PM
#10
Re: Locking Windows clock
any particular reason why?
-
May 13th, 2006, 10:20 PM
#11
Thread Starter
Addicted Member
why and why nots!
I am trying to scedukle events and force users to respec the shedule. How would number of seconds since computers starting can be helpful?? They can reboot the machine and mess everything up. What I need is a foolproof way to keep the time correct and not to let the users change the time to extend their permission for certain things.
Any ideas?
Don't let your schooling get in the way of your education.
-
May 13th, 2006, 10:36 PM
#12
Fanatic Member
Re: Locking Windows clock
i'm am almost positive you can restrict this using the local security policy :s i was almost positive it worked with home 2 i may be wrong tho
-
May 14th, 2006, 04:01 AM
#13
Re: Locking Windows clock
Have you tried Fortres 101 yet?
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|