[dba-Tech] Shortcut for non-admin users to connect to Hyper-V machine in Windows 8 Pro

Jim Lawrence accessd at shaw.ca
Mon Apr 21 11:42:49 CDT 2014


Hi Gustav:

It does appear that Hyper-V is an excellent package. (The DBA web site is running off a Hyper-V server) 

(It is sounding more like a good Linux installation every day. ;-))

Jim 

----- Original Message -----
From: "Gustav Brock" <gustav at cactus.dk>
To: "Discussion of Hardware and Software issues" <dba-tech at databaseadvisors.com>
Sent: Monday, April 21, 2014 1:35:37 AM
Subject: Re: [dba-Tech] Shortcut for non-admin users to connect to Hyper-V machine in Windows 8 Pro

Hi Jim

But I do have the GUI both on host and guest. This is to compare with an XP Mode install on Windows 7 but where this is quite slow, the Hyper-V install screams.

By the way, the install of the 32-bit OS from the ISO file took only about five minutes and - as I used the new Update 1 compilation which rolls up updates - it was the full install requering zero updates. I can't remember the last time I'v seen this, perhaps in the early days of Windows 2000.

I would get that 64-bit unit assembled and fire it up with Hyper-V Server 2012 R2. An amazing piece of software. You can start with just a 32 GB boot disk, create a bare-metal backup and play with that.

/gustav

________________________________________
Fra: dba-tech-bounces at databaseadvisors.com <dba-tech-bounces at databaseadvisors.com> på vegne af Jim Lawrence <accessd at shaw.ca>
Sendt: 21. april 2014 02:26
Til: Discussion of Hardware and Software issues
Emne: Re: [dba-Tech] Shortcut for non-admin users to connect to Hyper-V machine in Windows 8 Pro

Hi Gustav:

Glad you are enjoying the performance.

Removing the GUI and leaving only the command prompt or maybe just throwing on a simple shell can be so liberating. The performance is always stellar in comparison.

If you ever feel bold try a bare bones Debian box with Docker on it...all the Cloud systems use it, even Azure. I would think a Hyper-V install could provide the same features and performance.

(I have all the components for a very nice 64bit box but it needs to be assembled...Have been enjoy a little DigitalOcean droplet and hope to have a new website up and running in a couple of weeks.)

Jim

----- Original Message -----
From: "Gustav Brock" <gustav at cactus.dk>
To: "Discussion of Hardware and Software issues" <dba-tech at databaseadvisors.com>
Sent: Sunday, 20 April, 2014 3:01:29 PM
Subject: [dba-Tech] Shortcut for non-admin users to connect to Hyper-V machine in Windows 8 Pro

Hi all



Hyper-V is very powerful. I had to create a 32-bit environment for some tests, and configured a Windows 8.1 Update 1 32-bit VM with 2 GB ram.

It's a speed daemon. I've never seen 32- and 16-bit apps run this fast before. Of course it helps that it is powered by a Xeon CPU and runs on a SSD but still.



By default, the Hyper-V Manager of Windows 8 Pro is for administrators only.
This is fine for setup and configuration of the Virtual Machines and to check out these.

However, if the machine is in an Active Directory, this is not very useful as normal users are not granted administrator rights, thus will be incapable of accessing the VMs.



To solve this, the users' group - Domain Users - has to be granted rights to connect to the VMs. Luckily, this is a simple task.

First go to the host:



  1. As Administrator, open Computer Administration and go to Local Users and Groups
  2. Locate the group: Hyper-V Administrators
  3. Add to the list of members the group: Domain Users
  4. Close the group and Computer Administration



Then - as Administrator - start and go to the Virtual Machine



  1. As Administrator, open Computer Administration and go to Local Users and Groups
  2. Locate the group: Users of Remote Desktop
  3. Add to the list of members the group: Domain Users
  4. Close the group and Computer Administration



Now a normal user can open the Hyper-V Manager, connect to a Virtual Machine, and log on to this.
This is usable but for frequent use you will prefer to provide the user a shortcut to connect to the VM.



To do so, somewhere - like on the Desktop - right-click and select to create a new shortcut.
The New Shortcut wizard opens and asks you to type the location of the item. Write:



  vmconnect.exe localhost nameofyourvmachine



where "nameofyourvmachine" is the name from the Hyper-V Manager of the Hyper-V machine to open.
Click Next. The wizard asks you to name the shortcut. This will be the text label under the icon. Write for example:



  Hyper-V Windows 8 32-bit



Click Finish to create the shortcut. Double-click it to confirm that the VM opens and you are connected.

If you prefer a tile on the Start screen for the user to select, copy the shortcut to this folder:



  C:\ProgramData\Microsoft\Windows\Start Menu\Programs



The shortcut will now appear as a tile on the "show all" pane of the Start screen. To copy it to the main pane, right-click on the tile and select: Pin to Start.
Before using this option, make sure the label of the tile is quite short or it will be cut off when applied to the tile.



/gustav
_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com
_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com

_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com



More information about the dba-Tech mailing list