Horizon view client automatically logs on to the desktop

Source: Internet
Author: User

Overview:

to enhance the user experience, in some cases users do not want to log on to the virtual desktop by logging on to their desktop and then opening Horizon View Client , so we can set up automatic login on the boot.

System Environment: Horizon View Client 6+ xp/win7/win8 operating system

Boot auto StartHorizon View ClientMethodWriting Scripts

Name:hiderunframe.vbs

content: CreateObject ("Wscript.Shell"). Run "cmd/c c:\start\ Start.bat", 0

Hiderunframe.vbs

Name:start.bat

Content:

@echo off

: Loop

Tasklist| Find "Vmware-remotemks-containe" | | Goto View

Exit

: View

"C:\Program files\vmware\vmware Horizon viewclient\vmware-view.exe" –serverurl http://connectionsrvip–username% Computename%-domainname Domainname–desktopname Desktopname

Goto Loop

Start.bat

Set boot up1)Windows7Operating System

under C Drive, create the start folder, copy the Start.bat script to the directory, copy the Hiderunframe.vbs script to c \ Users\xiaokang\appdata\roaming\microsoft\windows\startmenu\programs\startup directory, such as:

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/85/5C/wKiom1ehaaGTk1VnAAFJPQVjOeY495.png-wh_500x0-wm_3 -wmp_4-s_1727093578.png "title=" 1.png "alt=" Wkiom1ehaagtk1vnaafjpqvjoey495.png-wh_50 "/>

OK Now you can log off or restart your computer and log on to the desktop automatically.

Note: Be sure to specify the start.bat path correctly in Hiderunframe.vbs .

2)Windows8Operating System

script is written as above, copy Hiderunframe.vbs to the corresponding directory C:\Users\xiaokang\AppData\Roaming\Microsoft\Windows\StartMenu \programs\startup

Log off or restart the operating system.

Note:xiaokang is my username,win8 vmware-view.exe path and win7 path may be different

3) Group Policy setting on automatic logon

Although the above method can be turned on automatically log on to the desktop, but a setup is obviously troublesome, in order to simplify the operation we can join the terminal computer to the domain, through the Group Policy settings to control The view client boot automatically.

Steps:

Create the start folder under the C drive , copy the Start.bat script to the directory, add both the computer and the user to the appropriate OU for the domain , edit the corresponding GPO

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/85/5C/wKiom1ehaceBRq1aAACT5aJWk50984.png-wh_500x0-wm_3 -wmp_4-s_503996408.png "style=" Float:none; "title=" 2.png "alt=" Wkiom1ehacebrq1aaact5ajwk50984.png-wh_50 "/>

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/85/5B/wKioL1ehacnSKIihAAElv62Z6oc871.png-wh_500x0-wm_3 -wmp_4-s_3962043678.png "style=" Float:none; "title=" 3.png "alt=" Wkiol1ehacnskiihaaelv62z6oc871.png-wh_50 "/>


Click Sign In

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/85/5B/wKioL1ehagfgKPM8AABagiFIW2U345.png-wh_500x0-wm_3 -wmp_4-s_4287339074.png "title=" 4.png "alt=" Wkiol1ehagfgkpm8aabagifiw2u345.png-wh_50 "/>

Click Add, select Browse in the popup dialog, copy the hiderunframe.vbs to the Logon directory

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/85/5B/wKioL1ehajHgSZUTAADQhDQrbHw848.png-wh_500x0-wm_3 -wmp_4-s_1337565526.png "title=" 5.png "alt=" Wkiol1ehajhgszutaadqhdqrbhw848.png-wh_50 "/>


Click Open to finish.

Finally, the Group Policy is updated in the client.

Gpupdate/force

To restart the client, the effect is as follows:

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/85/5B/wKioL1ehanTShEVtAAGf6jg4elU766.png-wh_500x0-wm_3 -wmp_4-s_3289127569.png "title=" 6.png "alt=" Wkiol1ehantshevtaagf6jg4elu766.png-wh_50 "/>


This article is from the "Vitrual Word" blog, so be sure to keep this source http://wangxiaokang.blog.51cto.com/6646856/1833896

Horizon View client automatically logs on to the desktop

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.