Switch on and Off Monitor from cmd

We have a monitor at our work which we use to monitor our company’s state. But how lazy I am I was looking for a quick solution to switch off and on this screen. So I don’t need to do this task anymore each morning;-) I did some research on the net but didn’t found a solution to do it with the Windows inbuilt functions. Then I discovered this great command prompt tool: Nircmd. It offers a lot of other functions. Just copy it into your Windows System 32 folder and you can simply run the command “nircmd monitor off” to switch off your screen. I used Windows Task Planer to run it each morning (switch on) and evening (switch off). Check out this great tool which offers heaps of other functions:
http://www.nirsoft.net/utils/nircmd.html

2 Comments »

admin on February 18th 2010 in IT, Windows

How to query mx records in Windows

Open Command Console and type:
nslookup
set type=mx
google.com

nslookupgoogle

No Comments »

admin on December 3rd 2009 in Internet, Network, Windows, Windows Server

Put Windows in Standby Mode from command console

Jus run this command:
rundll32 powrprof.dll,SetSuspendState

No Comments »

admin on October 1st 2009 in Windows

Change File Association in Command Console

You need two commands to accomplish that.

  1. C:\>assoc .txt
  2. .txt=txtfile
  3.  
  4. C:\>ftype txtfile
  5. txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

No Comments »

admin on January 28th 2009 in Windows

Shutdown Computer Remotely

We sometimes have fun at work and shut down each others computer;-)
I think you need to have domain admin rights to do so. If you are not logged in as domain admin you can run the “cmd.exe” with Shift+Right Click and “Run As” Domain Admin Login + Password.

Here the command:

  1. shutdown -m \\computername -s -t 500 -c "You better save your work;-)"

No Comments »

admin on November 4th 2008 in General




Check out new movies online website. Download and buy movies now.
1