Tuesday, February 23, 2016

W32tm WINDOWS TIME SERVICE USEFUL COMMANDS   W32tm is powerful command line tool for setup, monitoring and manage time service on Windows systems. You can find relevant reference on TechNet website   Here some useful commands.   Note: You may need to launch an elevated Command Prompt (right-click Run as administrator)   #1 TIME OFFSET BETWEEN CURRENT COMPUTER TO YOUR DOAMIN C:\> w32tm /monitor /domain:DOMAIN /nowarn C:\> w32tm /stripchart /computer: DOMAIN /samples:5 /dataonly #2 DISPLAY THE CURRENT TIME ZONE SETTINGS C:\> w32tm /tz #3 LIST PEERS (EXTERNAL NTP SERVERS) C:\>w32tm /query /peers #4 RESTORE WINDOWS TIME SERVICE ON LOCAL COMPUTER TO DEFAULT SETTINGS Unregister service and remove all configuration information from the registry. C:\>net stop w32time C:\>w32tm /unregister C:\>w32tm...
no comments

DSQuery all servers in Active Directory

Monday, July 7, 2014

How to use DSQUERY to find computers in Active Directory ? Intro: Dsquery is a command-line tool that is built into Windows Server 2008. It is available if you have the Active Directory Domain Services (AD DS) server role installed. To use dsquery, you must run the dsquery command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator. Here a few examples; 1. Find all computers: dsquery * -Filter "(&(objectClass=computer)(operatingSystem=*))" -Attr name operatingSystem -limit 100000000   2. Find only Servers: dsquery * -Filter "(&(objectClass=computer)(operatingSystem=Windows Server *))" -Attr name operatingSystem -limit 100000000   3. Find Windows Server 2012: dsquery * -Filter...

Stop SERVER MANAGER Automatically Starting in Server 2012

Thursday, January 16, 2014

How to Stop SERVER MANAGER from Automatically Starting in Server 2012 Server Manager is a management console in Windows Server® 2012 R2 and Windows Server® 2012 that helps IT professionals provision and manage both local and remote Windows-based servers from their desktops, without requiring either physical access to servers, or the need to enable Remote Desktop protocol (RDP) connections to each server. Although Server Manager is available in Windows Server 2008 R2 and Windows Server 2008, Server Manager was updated in Windows Server 2012, to support remote, multi-server management, and help increase the number of servers an administrator can manage. If we want to...
no comments