login vsi company logo login vsi company logo 250x40
header-02.jpg

Windows 8 (2012) in combination with Login VSI

More
21 Jun 2012 11:01 #354 by o.bouhaj
This forum post describes how to get started with Windows 8 (2012) in combination with Login VSI.

1.5 Target
1.6 Windows 8 (2012) Target
1.7 Windows 2012 RSH Target
1.8 Windows 8 VSH Target

1.5 Target
All the targets requires the VSI target-setup + Office-setup. Also required is .NET 3.5 and 4.
Both Windows 8/2012 requires – after the normal VSI target-setup – a update of BullZip PDF Printer (get latest release from Internet here ) and install this manually – after the normal VSI target-setup.


1.6 Windows 8/2012 Target
Both Windows 8/2012 requires – after the normal VSI target-setup – a update of BullZip PDF Printer (get latest release from Internet here ) and install this manually – after the normal VSI target-setup.

1.7 Windows 2012 RSH Target
The Windows 2012 RDS, e.g. Remote Session Host, requires the VSI target-setup + Office-setup. Also required is .NET 3.5 and 4. An update, after the VSI target-installation, for BullZip PDF Printer is required. There is no work-around needed for Windows PDF (Windows Reader) or the ‘Auto’ Metro GUI on Windows 2012.

1.7.1 Windows 2012 RSH Target Flash Issue
The Windows 2012 RDS, e.g. Remote Session Host, requires the feature 'Desktop Experience' to proper play Flash video content. To install the feature 'Desktop Experience' one needs to locate the feature 'User Interfaces and Infrastructure', click on it to expand it, there you will see the feature 'Desktop Experience' that you need to install. Once this is installed, you need to restart the computer and check for updates and there should be an update to install.

Once this is done, all one need to do is to adjust the security setting accordingly in internet explorer.

1.8 Windows 8 VSH Target
The Windows 8, e.g. Virtual Session Host (or normal Windows 8 stand-alone installations or none-VSH pool), requires the VSI target-setup + Office-setup. Again, also required is .NET 3.5 and 4. An update, after the VSI target-installation, for BullZip PDF Printer is required.

1.8.1 Windows 8 Microsoft Reader VSI Issue
Alternative one. Issue with BullZip PDF Printer in Windows 8:
Remove the Windows 8 MS Reader.

Add this line to C:\Program Files\Login Consultants\VSI\Files\login.cmd on the target:
• Powershell -command "Remove-AppxPackage(Get-AppxPackage | Where-Object{$_.Name -like 'Microsoft.Reader'})"

This removes the built in PDF reader and sets the .pdf association back to Acrobat Reader.

1.8.1.1 Windows 8 Microsoft Reader VSI Issue
Alternative two. Issue with BullZip PDF Printer in Windows 8:
Remove the Windows 8 MS Reader.

• point to Command Prompt (CMD)
Right click and select run as administrator

• in the Command Prompt Window
type Powershell
change the prompt in the Command Window to C:\windows\system32\

• type get-appxpackage
this will produce a list of apps that are installed on your machine

• look for Microsoft.Reader
note: PackageFullName for Microsoft.Reader

• now use the following command to remove the Mircosoft.Reader
Remove-AppxPackage {Microsoft.Reader-PackageFullName}
where {Microsoft.Reader PackageFullName} is the PackageFullName without the { } from the first PowerShell command

• type exit, type exit

This removes the built in PDF reader and sets the .pdf association back to Acrobat Reader.

Note: it could be that this work-around is needed for all VSI-users

1.8.2 Windows 8 Metro GUI
Issue with Metro GUI:
Windows 8 Build 8400 has no way to disable the metro ui. Thus the VSI script would not launch until clicking the desktop tile.
Open Notepad add the commands below and save as a .scf file. Place this file in the all users startup on the Windows 8 Machine:

For Login VSI 3.x to work the desktop needs to have focus when the test starts. So we need to have the UI switch automatically to the desktop when users logon. To do this we'll create a shortcut file and have it called when a user logs on.

• Create an Explorer script file that launches the desktop. Open Notepad and paste or type in the following text:

Create the shortcut file
Open Notepad and paste in the following:

[Shell]
command=2
IconFile=Explorer.exe,3
[Taskbar]
Command=ToggleDesktop

Save the file as: "showmydesktop.scf"

Create a registry file which will be used to add the necessary command to call the shortcut at logon.
Open Notepad and paste in the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"ShowMyDesktop"="\"C:\\install\\showmydesktop.scf\""

Modify "c:\\install\\showmydesktop.scf" to be the location where you are placing the file on your Server/Workstation where the VSI test will be running. In this instance I created a folder called c:\install and put all my files there.
Save the file as: "showmydesktop.reg"

Enable ShowMyDesktop on your target platform
1. Copy the showmydesktop.scf and showmydesktop.reg files to your target and save them in the location you specified in the reg file, i.e. c:\install
2. Double click "showmydesktop.reg" and import the setting into the registry.
Now when users logon after a couple of seconds it will switch away from Metro and to the users desktop.


• Save the file as showmydestkop.scf and put it in a location you’ll easily remember

Note: that in either case, after one logs on, it takes a couple of seconds for the desktop background to appear after the initial root folder for the user appears. Also, note that this method leaves a vestigial explorer.exe process that remains in the background until a logoff occurs.

If this does not work:
Launch Windows Task Scheduler. You can find Task Scheduler by using Windows 8′s built-in search or by navigating to the Administrative Tools section of Control Panel.

• Select Task Scheduler Library in the left window pane



• Right click in the task area and select Create New Task



• Enter a name (ex: ShowDesktop) on the General tab and ‘Change User/Group’ to Login_VSI_TS



• Set the task to trigger at log on by clicking new on the trigger tab, and selecting "At log on" from the Begin Task list



• Make your script an action by clicking New on the Action tab, selecting "Start a program" from the Action menu, and entering the full path of showmydesktop.scf (ex: C:\myscripts\showmydesktop.scf) in the Program/script field



• Toggle off "Stop if the computer switches to battery power" on the conditions tab. You want to log in to the desktop whether your notebook is plugged in or not



• Click Ok and close the Task Manager
The next time you log in, whether at boot up or after log out, the desktop will launch shortly after the Metro screen loads.

Note: it could be that this work-around is needed for all VSI-users

Kind Regards,

Login VSI

Please Log in to join the conversation.

Start Delivering the Best End User Experience Today

Request a Demo

Login VSI, Inc.

3945 Freedom Circle
Suite 670
Santa Clara, CA 95054

Phone: +1 408 899 7418

300 Tradecenter
Suite 3460
Woburn, MA 01801

Phone: +1 408 899 7418

Login VSI B.V.

De Entree 85
1101 BH Amsterdam
The Netherlands

Phone: +31 20 705 1200