.NET life

HUGON Jérôme
Microsoft Certified Technology Specialist Microsoft Certified Application Developer Microsoft Certified Professional

Enable Wake On LAN on Surface

Surface

Category Surface  | Publication Date : 12/4/2010

Microsoft Surface tables are often used for events or in an office, for purposes of presentation. The lamp has a life quite limited and a concern for energy saving, it's best to establish an automatic start and stop so you do not be concerned with turning off the table before leaving weekend.

Here are the steps to set up this solution:

  • Enable Wake On LAN on Surface
  • Modify the BIOS password
  • Change settings of the network card
  • Create a scheduled task to shutdown the table

Enable Wake On LAN on Surface

The first thing to do is to contact Microsoft Surface support for the password to the BIOS of your Surface, you will find the number in the documents of the yellow envelope that came with the table.

Once the password in your possession, connect a keyboard and mouse to the table and turn it on. Press Delete key to enter the BIOS. A screen asks you to enter a password:

Enable Wake On LAN on Surface

Enter the password provided by the Microsoft Surface support. Be careful, the keyboard is configured as QWERTY.

Go to the menu Power - APM Configuration:

Enable Wake On LAN on Surface

Enable the settings Power On By PCI Devices:

 Enable Wake On LAN on Surface

and Power On By PCIE Devices:

Enable Wake On LAN on Surface

Modify the BIOS password

By obtaining the password to the BIOS of your Surface, you will understand it is not related to a particular table because we do not ask you the serial number of the table. That is why it is better to change it.

Go to the menu Boot - Security:

Enable Wake On LAN on Surface

Select Change Supervisor Password:

Enable Wake On LAN on Surface

and enter the new password in the window that opens:

ff313627-db8b-4e04-9db7-0050f8bde813.jpg

A confirmation of the password will be required and you can then save and close the BIOS.

Change settings of the network card

The next step is to allow the network card to wake the computer. Log on as administrator on the table, go to Control Panel and then start the Device Manager:

Enable Wake On LAN on Surface

Open the Network adapters node and then on the context menu for the network card (here is Intel (R) PRO/1000 PL Network Connection), click Properties:

Enable Wake On LAN on Surface

Tick the box Allow this device to wake the Computer and click the OK button to save and close the window:

Enable Wake On LAN on Surface

Open the Command Prompt:

Enable Wake On LAN on Surface

and enter the command ipconfig / all. Locate your network card previously configured and note its MAC address (it will be useful to send the magic packet):

Enable Wake On LAN on Surface

 Create a scheduled task to shutdown the table

 Open the scheduled task manager (Start - All Programs - Accessories - System Tools - Task Scheduler):

Enable Wake On LAN on Surface

Open the node context menu on Task Scheduler Library and select Create Task...:

Enable Wake On LAN on Surface

Configure the General tab for the task is executed with a user who is administrator of the table, with elevated privileges and be logged or not:

Enable Wake On LAN on Surface

In the Triggers tab add the time the task should be triggered. Here is an example for a shutdown every day at 06:30 PM:Enable Wake On LAN on Surface

Enable Wake On LAN on Surface

In the Actions tab, create a new action calling the shutdown.exe program and passing parameters -s -f -t 00 as follows:

Enable Wake On LAN on Surface

The -s parameter specifies to turn the computer off, the -f force the closure of current programs and the -t 00 parameter specifies a timeout of 0 seconds. You can get more info by typing shutdown /? in a command line.

The two remaining tabs, Conditions and Settings keep their default settings:

Enable Wake On LAN on Surface

Enable Wake On LAN on Surface

Click on the OK  button to validate the task. The password for the account who will execute the task is asked.

The task appear now into the list.

 

You have just to create a scheduled task according to your needs to send the magic packet and wake up the table.

 

Thank you to Chafik without whom nothing would have been possible ;-)