Social Icons

twitter google plus linkedin rss feed

Pages

Showing posts with label Windows Server. Show all posts
Showing posts with label Windows Server. Show all posts

23.10.14

Surface 3 WiFi and Hyper V


Looks like something is not fully compatible between the surface and the Hyper V.

And if you have installed the latest Visual Studio you have probably noticed that it takes longer than usual for the Wi-Fi to connect let alone that you don't have the sleep mode anymore.

In order to workaround this issue I have created a couple of shortcuts in the desktop, one for turning off Hyper V and one for turning it back on when you really need it.

Pretty simple stuff:
Right click on your desktop and select New > Shortcut
You'll see the window for selecting the program to which the shortcut is going to be pointing at.
Right after that we will find bcdedit.exe in the system32 folder.


 

 And finally we will name the shortcut something meaningful.

Now the tricky part. We will right click on the newly created shortcut and select properties.


For the HyperV On shortcut you'll need this text I the Target box:
C:\Windows\System32\bcdedit.exe /set hypervisorlaunchtype auto
For the HyperV Off you'll need this:
C:\Windows\System32\bcdedit.exe /set hypervisorlaunchtype off
After that click on the Advanced properties and select Run as administrator.



And finally select a nice icon for the shortcut


Remember to do the HyperV On and the HyperV Off icons.


And finally remember that after you execute these shortcuts, in order for the change to take effect you'll have to restart the computer.

No comments:

Post a Comment

9.8.13

The process wlms.exe has initiated the power off of computer

I was getting random shutdowns of one of my virtual machines hosted in azure... I thought it was something related to azure but no.

I had a look to the shutdown log and found out this:

Log Name:      System
Source:        USER32
Date:          08/08/2013 17:39:04
Event ID:      1074
Task Category: None
Level:         Information
Keywords:      Classic
User:          SYSTEM
Computer:      COMPUTERNAME.local
Description:
The process wlms.exe has initiated the power off of computer COMPUTERNAME on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Unplanned)
 Reason Code: 0x0
 Shutdown Type: power off
 Comment: 
Event Xml:
<event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <system>
    <provider name="USER32">
    <eventid qualifiers="32768">1074</eventid>
    <level>4</level>
    <task>0</task>
    <keywords>0x80000000000000</keywords>
    <timecreated systemtime="2013-08-08T16:39:04.000000000Z">
    <eventrecordid>147067</eventrecordid>
    <channel>System</channel>
    <computer>COMPUTERNAME.local</computer>
    <security userid="S-1-5-18">
  </security></timecreated></provider></system>
  <eventdata>
    <data>wlms.exe</data>
    <data>COMPUTERNAME</data>
    <data>Other (Unplanned)</data>
    <data>0x0</data>
    <data>power off</data>
    <data>
    </data>
    <data>NT AUTHORITY\SYSTEM</data>
  </eventdata>
</event>

A fast googling told me that in order to stop the VM from shutting down I needed to activate it :)

No comments:

Post a Comment