Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Update Windows Date/Time

Posted on December 8, 2013February 12, 2016 By David Kittell
cls
date 11-27-2013
time 5:19:00 PM
w32tm /config /syncfromflags:manual /manualpeerlist:"time.windows.com"
net stop w32time
net start w32time
w32tm /resync
w32tm /resync
pause

GitHub: https://gist.github.com/dkittell/c3c930d1b432d51ebb71

Originally Posted on December 8, 2013
Last Updated on February 12, 2016
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code Windows Batch

Post navigation

Previous post
Next post

Related Posts

HEX to RGB

Posted on August 15, 2013October 26, 2015

function html2rgb($color) { if ($color[0] == ‘#’) $color = substr($color, 1); if (strlen($color) == 6) list($r, $g, $b) = array($color[0].$color[1], $color[2].$color[3], $color[4].$color[5]); elseif (strlen($color) == 3) list($r, $g, $b) = array($color[0].$color[0], $color[1].$color[1], $color[2].$color[2]); else return false; $r = hexdec($r); $g = hexdec($g); $b = hexdec($b); return array($r, $g, $b); }…

Read More

Mac OS X – Remove Users In Terminal/SSH

Posted on February 19, 2016March 30, 2016

Recently I had to remove users from a Mac that was on a network only with SSH available. In this document I use the user name “administrator” as the account that I do the work in and would like to keep, your user name may be different. First we need…

Read More

WordPress Database Information

Posted on September 14, 2015February 12, 2016

I plan to work more on this as it is rather nasty but as a work in progress notepad if you will this is the spot for now. — Not a pretty approach but this will help you get a listing of all active plugins DROP TABLE IF EXISTS wp_active_plugins;…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes