Jump to content

Microsoft Virtual Server 2005


Bilou_Gateux

Recommended Posts

Performing a customized unattended installation of Virtual Server

The Virtual Server Administrator's guide outlines how to perform a basic unattended installation of Virtual Server. However it does not tell you how to do a customized unattended install (where you only install some of the components). You can do this with the following command (all one line):

msiexec /I "Virtual Server 2005.msi" /L*v %TEMP\VS2005Install.log ADDLOCAL=VirtualServer,VMRCClient,DevAndDoc,VSWebApp PIDKEY=#YOUR_PID_WITHOUT_DASHES# /qb-

Where you remove the components from 'ADDLOCAL' that you do not want installed. So if you just wanted the VMRC client you would run:

msiexec /I "Virtual Server 2005.msi" /L*v %TEMP\VS2005Install.log ADDLOCAL=VMRCClient PIDKEY=#YOUR_PID_WITHOUT_DASHES# /qb-

Note: To get the .msi file with Virtual Server 2005 R2 you will need to run Setup.exe /c /t [drive letter]:\[path to the .msi file].

Source: Virtual PC Guy's WebLog

Link to comment
Share on other sites

  • 3 years later...

Download Microsoft Virtual Server 2005 R2 SP1 - Enterprise Edition + Microsoft Virtual Server 2005 R2 SP1 Update (KB956124)

from Microsoft website and save them to <destination folder>.

Virtual Server usually comes wrapped up as a setup.exe. To use the following procedure and options, setup.exe must be unpacked to the MSI using the following command:

setup.exe /c /t <destination folder>

Create admin install point:

msiexec /a "Virtual Server 2005 Install.msi" TARGETDIR=<destination folder> ADDLOCAL=VirtualServer,VMRCClient,DevAndDoc,VSWebApp,VHDMount SERVICESTARTUPMANUAL=1 WEBSITEDEFAULTPORT=80 CONFIGUREIISFORDELEGATION=0 OPENFIREWALL=1 NOSUMMARY=1 /qb- 
msiexec /a "Virtual Server 2005 Install.msi" /p KB956124.msp TARGETDIR=<destination folder> ADDLOCAL=VirtualServer,VMRCClient,DevAndDoc,VSWebApp,VHDMount SERVICESTARTUPMANUAL=1 WEBSITEDEFAULTPORT=80 CONFIGUREIISFORDELEGATION=0 OPENFIREWALL=1 NOSUMMARY=1 /qb-

Note:

Keep in mind that the computer used for the various steps must be running IIS if you select VsWebApp (Virtual Server Web Application) component.

Virtual Server 2005 Install

Syntax

msiexec.exe {/i|/a} "msifile" [ALLUSERS=value] [PIDKEY=value] [ADDLOCAL=[VirtualServer],[VMRCClient],[DevAndDoc],[VSWebApp]] [sERVICESTARTUPMANUAL=value] [WEBSITEDEFAULTPORT=value] [CONFIGUREIISFORDELEGATION=value] [OPENFIREWALL=value] [uSERNAME=value] [COMPANYNAME=value] [{INSTALLDIR=value|TARGETDIR=value}] [ALLUSERS=value] [NOSUMMARY=value] [/qb | /qn | /qr | /qf] [/l logfile]

Parameters

/i

Installs Virtual Server. You can use /x to uninstall Virtual Server.

/a

Applies the administrative installation option. Installs Virtual Server on the network.

/q

Sets the user interface level as shown in the following table.

Value

Action

q or qn

No user interface

qb

Basic user interface

qr

Reduced user interface

qf

Full user interface

For more information about the user interface levels, see "Command Line Options" at the Microsoft Web site.

/l logfile

Specifies the path to the log file.

PIDKEY=value

Specifies the unique product key number required to perform the installation. Do not use dashes when typing the number.

ADDLOCAL=[VirtualServer],[VMRCClient],[DevAndDoc],[VSWebApp]

Specifies what components of Virtual Server must be installed. Options are:

· VirtualServer: Virtual Server Service

· VMRCClient: Virtual Machine Remote Control Client

· DevAndDoc: Documentation and Developer Resources

· VsWebApp: Virtual Server Web Application

SERVICESTARTUPMANUAL=value

Set to 1 for manual Virtual Server services startup. The default is 0.

WEBSITEDEFAULTPORT=value

Specifies the port for the Administration Website.

CONFIGUREIISFORDELEGATION=value

Specifies under which credentials the Virtual Server Administration Website must run.

0 - (default) Configure the Administration Website to always run as the authenticated user (Recommended for most users)

1 - Configure the Administration Website to always run as the Local System account (Required for constrained delegation)

OPENFIREWALL=value

Set to 1 to configure Virtual Server exceptions in Windows Firewall

INSTALLDIR=value

Specifies a custom folder in which to install the program. If you do not include this parameter, the program is installed in \Program files.

TARGETDIR=value

Specifies a location in which to install the Virtual Server installation package when using the administrative installation (/a) option. The package's data files are uncompressed in this location.

ALLUSERS=value

Determines what users see in the Start menu and in Add or Remove Programs. If ALLUSERS is not set, the installer does a per-machine installation. If ALLUSERS is set to an empty string (ALLUSERS=""), the installer does a per-user installation. In all cases the installer uses folders in the "All Users" profile.

NOSUMMARY=value

If this value is set to 1, the summary page will not be displayed. The /qn option will also suppress the summary page.

Example

The following example shows how to perform an unattended installation. An unattended installation means the Setup program runs without prompting you for input.

msiexec /i  "<destination folder>\Virtual Server 2005 Install.msi" ADDLOCAL=VirtualServer,VMRCClient,DevAndDoc,VSWebApp,VHDMount SERVICESTARTUPMANUAL=1 WEBSITEDEFAULTPORT=80 CONFIGUREIISFORDELEGATION=0 OPENFIREWALL=1 NOSUMMARY=1 /qb-

Replace <destination folder> with your own selected path in all commands.

Edited by Bilou_Gateux
Link to comment
Share on other sites

http://vscommunity.com/blogs/virtualzone/a...redentials.aspx

Always Prompted for Credentials

Another common problem is that you are prompted to enter your credentials every time you access the Administration Website using the FQDN of the Virtual Server host, even after it has been added as a trusted site. This is another issue that is related to the baseline configuration of Internet Explorer. By default, user credentials are automatically submitted for authentication only to sites that are interpreted to be in the Intranet zone. For all other zones, including Trusted Sites, the user authentication dialog box is displayed and credentials must be entered manually.

Resolution

To resolve this problem on Windows Server 2003, you can modify the Internet Explorer configuration to automatically submit user credentials for authentication regardless of the zone. Follow these steps to change the Internet Explorer user authentication settings:

Open Internet Explorer and on the Tools menu, click Internet Options.

Click the Security tab, and then click the Custom Level button.

Scroll down to the User Authentication section, and click the Automatic Logon With Current User Name And Password option button.

Click OK twice.

The drawback of this method is that you might encounter authentication failures if you have configured other trusted sites for which you need to present a separate set of user credentials. Alternatively, if you are accessing a local instance of the Administration Website (running on the computer that you are logged in on), you can use a non-FQDN for the Virtual Server host in the URL (for example, http://localhost:1024).

When you are running Windows Vista, you have the added complexity of having to run the Administration Website in Internet Explorer as administrator when User Account Control (UAC) is enabled. If you are running in an isolated test environment, you can avoid this additional step by disabling UAC. Otherwise, follow these steps to grant your user account full administrative privilege in Virtual Server and eliminate the need for UAC:

Right-click the Internet Explorer icon in the Quick Launch section of the task bar, and choose Run As Administrator from the menu.

In the User Access Control dialog box, click Allow.

In the Internet Explorer address bar, type in the URL to the Administration Website.

In the Virtual Server navigation menu, click Server Properties.

Click the Add Entry button.

In the new Permission Entry, type in your account name in the User Or Group text box.

In Permissions, select the Full check box to give your account full control.

Click OK.

Important: In Internet Explorer 7, you must also ensure that the Enable Protected Mode option remains disabled for Trusted Sites. If Protected Mode is enabled, you will receive the following error when you attempt to access the Administration Website: “Could not connect to Virtual Server. Please add the Virtual Server administration Website to the Internet Explorer trusted sites list. You can specify an alternate Virtual Server below.” To learn more about Internet Explorer 7 Protected Mode, review the blog entry written by a member of the Internet Explorer security team at http://blogs.msdn.com/ie/archive/2006/02/09/528963.aspx.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...