Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. The clock in Windows

The clock in Windows

Scheduled Pinned Locked Moved IT & Infrastructure
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    How can I do an app or just something that makes it impossible for the user to change the time?? Is that possible?

    R 1 Reply Last reply
    0
    • L Lost User

      How can I do an app or just something that makes it impossible for the user to change the time?? Is that possible?

      R Offline
      R Offline
      Rassman
      wrote on last edited by
      #2

      In windows you can trap time changes, but it isn't cut and dried, you have to know what time it was previous to the user changing it if you want to turn the clock back. This is of cause a rediculous way to treat time with obvious risks involved. In Win2000 (and family) the standard user by default does not have access to change the time. This can be important, since time is important to networks and very much so to databases. Rather than trap-then-reset the clock, what you need is a time source. If you have a network then you make one of the servers a time server. Did you know that Windows only looks at your clock once? One of the first stages of Windows startup is to look for the network, this is when it would pickup from a timeserver, if no timeserver then it looks at your realtime clock. That is the last time it looks. If you don't have a server. There is a time source on the internet, I can't seem to recal where it is off the top of my head but Grenich would be the place to start looking (or your local counties equivelent time station). Question for NT client guru's? Can the client be setup to timeserve? I remember seeing a white paper where it was mentioned many moons ago, but I don't know if its been implemented. I suspect it has, because of database sharing in PC-PC networks. We do it for the joy of seeing the users struggle.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups