Thin client boot automatically connects to virtual desktops

Source: Internet
Author: User
Tags net time


Requirements Scenario:

1 thin client boot directly into the virtual desktop. Administrators can choose different desktops according to specific needs, such as Monday to Friday boot into class desktop, weekend boot into the exam desktop.

Implementation steps:

1, the thin client changes the computer name. Can be modified manually or through the software to see my other document.

such as students-001,students-001.

2, thin Client Add boot entry;

A, Select a thin client, open the registry (run regedit), and enter the path.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]

Select Export as "Run.reg".

650) this.width=650; "Width=" 453 "height=" 339 "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>

B, edit "run.reg". Add

"Start" = "cmd/c \\\\192.168.1.1\\share\\view.bat"

Comments:

The above command will cause the thin client to boot the view.bat file in the shared file .

or 650) this.width=650; "Width=" 554 "height=" "src=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" spacer.gif "/>

C, Use LAN control software (such as polar domain) to enable thin clients to uniformly execute "run.reg". Make it up to the boot execution view.bat file. The purpose of this step is to have the thin client boot up to execute the view.bat file.

The previous three steps for the thin client has installed the system, if the thin client did not install the operating system, you can do a thin client template image, and first do the above steps, and then use the network engraved batch deployment.

650) this.width=650, "width=" "height=" and "The Src="/e/u261/themes/default/images/spacer.gif "style=" Background:url (" /e/u261/themes/default/images/word.gif ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

D,theview.bat script is as follows:

@echo off

NET time \ \192.168.1.1 /set/yes

Start \\192.168.1.1\share\tskillcmd.bat

% "C:\Program files\vmware\vmware Horizon View client\vmware-view.exe"-serverurl http://10.10.10.22-userName% Computername%02-password%computername%02-domainname demo.com-desktopname exam Desktop -unattended%

"C:\Program files\vmware\vmware Horizon View client\vmware-view.exe"-serverurl/http/10.10.10.22 -username %computername%-password%computername%-domainname demo.com -desktopname class Desktop

Comments:

The Tskillcmd.bat function is the CMD Console window that appears when you close a thin client execution script .

% is the comment content. Administrators can change the desired virtual desktops based on the needs of different desktop scenarios.

%computername% is a variable that will be replaced with the corresponding computer name in the specific client execution. For example, the students-01 will be replaced by students-01.

View 5.2 's Viewclient file path is different, please fill in the appropriate path according to the environment.

E,tskillcmd.bat content.

@echo off

Tskill cmd

Description

Because of the time relationship, it has not been studied to implement the close cmd console in view.bat , so additional tskillcmd.bat scripts are required to close, will be improved at a later stage.

F, if the viewclient shuts down unexpectedly, restart the thin client or send the command via the control software (recommended beforehand) to reconnect.

Note:View Connection Server default client session time is minutes, that is, the client logged in more than - minutes are automatically disconnected, it is recommended to modify the time value according to the actual requirements.


This article is from the "Mountain" blog, please be sure to keep this source http://862187818.blog.51cto.com/6127601/1587364

Thin client boot automatically connects to virtual desktops

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.