Category Archives: Windows

Windows tips, howtos, scripts

Windows: Get a device serial number from command line

Hi,

it’s simply possible to get the serial number of your Windows device at command line. Precontition is that the vendor has done it’s home work and filled up the DMI tables correctly 🙂 .

Continue reading Windows: Get a device serial number from command line

Advertisment to support michlstechblog.info

Windows: Start a cmd.exe with system rights

Hi,

since Windows 2008 and Windows Vista it is no more possible to start a cmd.exe with system rights by using the (Task)Scheduler.
Continue reading Windows: Start a cmd.exe with system rights

Windows: Remove a trigger from a service

Hi,

since Windows 7 respectively Windows 2008R2 it has the ability to start a windows service with a trigger. Some Services, like dnscache, starts or stops on demand.

A customer had the problem that sometimes, after an automatic restart (on idle) of the DNS Client Service, Windows won’t register its name in DNS anymore. A manual register with
C:\> ipconfig /registerdns
was necessary each time.
Continue reading Windows: Remove a trigger from a service

Windows: Query Active Directory Site information

Hi,

short post today:-)

nltest is a builtin tool in Windows to query lots of AD information.
Continue reading Windows: Query Active Directory Site information

Windows: Equivalent to linux time command

Hi,

the time command in Windows gets or sets the system time. If you need an equivalent to the linux time command – which measure the execution time of a given command – you can use the powershell commandlet Measure-Command. Limitation is that only the time can measure how long the command execution runs, not splited into user, system and realtime.
Continue reading Windows: Equivalent to linux time command