Read these articles
http://derek858.blogspot.com/2009/11/vsphere-esxi-ssl-mystery-solved.html
http://derek858.blogspot.com/2009/11/vcenter-server-40-ssl-certificate.html
http://derek858.blogspot.com/2009/11/vcenter-update-manager-40-ssl.html
Tuesday, November 24, 2009
How to move SQL Server databases to a new location by using Detach and Attach functions in SQL Server
Read this article from MS knowledge base article
http://support.microsoft.com/kb/224071
http://support.microsoft.com/kb/224071
Saturday, November 21, 2009
VMware Fault Tolerance Requirements and Limitations
Friday, November 20, 2009
How do you prevent users from configuring additional email accounts in Outlook
from http://windowsitpro.com/article/articleid/100237 we read:
In Microsoft Office Outlook 2007 and 2003, there’s no configuration setting in the UI to prevent secondary email accounts from being created. By default, users can add a POP3 account to their existing Outlook Exchange profile for example, assuming a POP3 server is reachable. However, you can add or configure registry keys on the workstation to prevent Outlook account creation by users. The keys differ depending on the account type you want to disable. You can implement them for individual users through HKEY_CURRENT_USER, like so HKEY_CURRENT_USER\Software\Microsoft\Office\\Outlook\Options
Depending on the version of Outlook you’re running, here are the version numbers to use: For Outlook 2007 use 12.0, for Outlook 2003 use 11.0, and for Outlook 2002 use 10.0.
After the HKEY_CURRENT_USER path, you’ll add DWORD values for the protocols you want to disable: for POP3 use DisablePOP3, for IMAP4 use DisableIMAP, for MAPI use DisableExchange, for HTTP use DisableHTTP, and for Other use DisableOtherTypes.
With these keys toggled on with a value of 1, the user will be unable to add new accounts of the type disabled. In Office 2007, if POP3, IMAP, and HTTP are disabled, then the Internet E-mail option for them in the Add New Internet E-mail Account box will be grayed out, when a user tries to create a new account using Tools, Account Settings, E-mail.
If you create or update installations using the Office Customization Tool (OCT) in Office 2007, or the Custom Installation Wizard or Custom Maintenance Wizard in Office 2003, you can configure this setting for new Office deployments or update current ones. In the OCT, the setting is found in Features, Modify user settings, Microsoft Office Outlook 2007, Miscellaneous, Prevent users from adding e-mail account types. Administrators can also distribute a .registry file to control new email account creation in Outlook. Registry files are easily distributed through logon scripts or application deployment products. The following is a sample .registry file that's used to disable POP3, IMAP, and HTTP on an Outlook 2007 workstation:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\12.0\Outlook\Options]
“DisablePOP3” = dword:00000001
“DisableIMAP” = dword:00000001
“DisableHTTP” = dword:00000001
These configurations can also be implemented through Group Policy and the Outlook Group Policy administrative template, outlk12.adm. To download outlk12.adm, use the search term admintemplates.exe at download.microsoft.com. The configuration applied through Group Policy is identical to the OCT configuration with the exception of the registry key location. For Outlook 2007, the registry values would be placed under HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\12.0\OptionsNote that the policy entries take precedence over the individual custom registry entries applied with the OCT.
In Microsoft Office Outlook 2007 and 2003, there’s no configuration setting in the UI to prevent secondary email accounts from being created. By default, users can add a POP3 account to their existing Outlook Exchange profile for example, assuming a POP3 server is reachable. However, you can add or configure registry keys on the workstation to prevent Outlook account creation by users. The keys differ depending on the account type you want to disable. You can implement them for individual users through HKEY_CURRENT_USER, like so HKEY_CURRENT_USER\Software\Microsoft\Office\\Outlook\Options
Depending on the version of Outlook you’re running, here are the version numbers to use: For Outlook 2007 use 12.0, for Outlook 2003 use 11.0, and for Outlook 2002 use 10.0.
After the HKEY_CURRENT_USER path, you’ll add DWORD values for the protocols you want to disable: for POP3 use DisablePOP3, for IMAP4 use DisableIMAP, for MAPI use DisableExchange, for HTTP use DisableHTTP, and for Other use DisableOtherTypes.
With these keys toggled on with a value of 1, the user will be unable to add new accounts of the type disabled. In Office 2007, if POP3, IMAP, and HTTP are disabled, then the Internet E-mail option for them in the Add New Internet E-mail Account box will be grayed out, when a user tries to create a new account using Tools, Account Settings, E-mail.
If you create or update installations using the Office Customization Tool (OCT) in Office 2007, or the Custom Installation Wizard or Custom Maintenance Wizard in Office 2003, you can configure this setting for new Office deployments or update current ones. In the OCT, the setting is found in Features, Modify user settings, Microsoft Office Outlook 2007, Miscellaneous, Prevent users from adding e-mail account types. Administrators can also distribute a .registry file to control new email account creation in Outlook. Registry files are easily distributed through logon scripts or application deployment products. The following is a sample .registry file that's used to disable POP3, IMAP, and HTTP on an Outlook 2007 workstation:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\12.0\Outlook\Options]
“DisablePOP3” = dword:00000001
“DisableIMAP” = dword:00000001
“DisableHTTP” = dword:00000001
These configurations can also be implemented through Group Policy and the Outlook Group Policy administrative template, outlk12.adm. To download outlk12.adm, use the search term admintemplates.exe at download.microsoft.com. The configuration applied through Group Policy is identical to the OCT configuration with the exception of the registry key location. For Outlook 2007, the registry values would be placed under HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\12.0\OptionsNote that the policy entries take precedence over the individual custom registry entries applied with the OCT.
Thursday, November 19, 2009
How to create a USB multi boot disk with Windows 7 and Windows Server 2008 R2
from http://blogs.technet.com/ferminsa/archive/2009/03/26/how-to-create-the-ultimate-usb-multi-boot-disk.aspx we read:
Step 1: Preparing the USB key
Since the WIM file we are creating (see Step 2) will be larger than 4 GB, the USB stick needs to be formatted with NTFS. In a command prompt with administrative rights, do the following ("clean" will permanently erase the contents of your USB key!!):
diskpart
list disk
select disk 1
clean
create partition primary
select partition 1
active
format fs=ntfs quick
assign
exit
The above assumes that the "list disk" command showed you two disks, "Disk 0" being your internal hard disk and "Disk 1" being the USB stick. Your system might be different. "clean" will permanently erase the contents of your USB key!! Ony my system, the "assign" command put my USB key on drive H:, this could also be different on yours.
Next, copy the contents for example of a Vista Windows 7 CD to your USB key:
xcopy f:\*.* /s /e /f h:\
Your USB key is now ready to go.
Step 2: Creating the "Monster WIM"
The WIM format introduced with Windows Vista is basically a container for one or more OS images. You can have a look into such a container by starting the WAIK command prompt (see your Windows start menu after installing WAIK) and entering the command "imagex.exe /info x:\sources\install.wim" (assuming x: is your DVD drive). The output will look something like this (some output snipped):
C:\Windows\system32>imagex.exe /info f:\sources\install.wim
ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
WIM Information:
----------------
GUID: {a99a2697-00aa-47fb-a514-86e22cc1a7a6}
Image Count: 6
Compression: LZX
Part Number: 1/1
Attributes: 0xc
Integrity info
Relative path junction
Available Image Choices:
------------------------
2643418299
(snip)
Windows 7 SERVERSTANDARD
Windows 7 SERVERSTANDARD
ServerStandard
3637973169
Windows Server 2008 R2 Standard (Full Installation)
(snip)
(snip)
Windows 7 SERVERSTANDARDCORE
Windows 7 SERVERSTANDARDCORE
ServerStandardCore
995178928
Windows Server 2008 R2 Standard (Server Core Installation)
As you can see in the partial output above, the WIM contains 6 images; I've included the more important parts of the first two images. Creating the actual WIM is now straightforward enough:
imagex.exe /compress maximum /export f:\sources\install.wim 1 d:\temp\install.wim "Windows Server 2008 R2 Standard (FULL)"
imagex.exe /compress maximum /export f:\sources\install.wim 2 d:\temp\install.wim "Windows Server 2008 R2 Standard (CORE)"
Now insert the next DVD, say with Windows Server 2008 x64, and repeat the process (run "imagex.exe /info …" to see which images to get):
imagex.exe /compress maximum /export f:\sources\install.wim 1 d:\temp\install.wim "Windows Server 2008 Enterprise x64 (FULL)"
imagex.exe /compress maximum /export f:\sources\install.wim 2 d:\temp\install.wim "Windows Server 2008 Enterprise x64 (CORE)"
You don't have to worry about numbering in your newly created WIM file; imagex.exe will assign them automatically in ascending order. If you want to get rid of an image in your WIM, use:
imagex.exe /delete d:\temp\install.wim 1
Step 3: Copying the new WIM file to the USB key
All that remains to do is replacing the "install.wim" on your USB key with your customized one:
copy d:\temp\install.wim h:\sources
Select "Yes" if prompted to overwrite the existing install.wim.
Also take a look at this link http://g0b3ars.wordpress.com/2009/09/20/create-an-all-in-one-win7vistawindows-server-2008-discusb-stick/
Step 1: Preparing the USB key
Since the WIM file we are creating (see Step 2) will be larger than 4 GB, the USB stick needs to be formatted with NTFS. In a command prompt with administrative rights, do the following ("clean" will permanently erase the contents of your USB key!!):
diskpart
list disk
select disk 1
clean
create partition primary
select partition 1
active
format fs=ntfs quick
assign
exit
The above assumes that the "list disk" command showed you two disks, "Disk 0" being your internal hard disk and "Disk 1" being the USB stick. Your system might be different. "clean" will permanently erase the contents of your USB key!! Ony my system, the "assign" command put my USB key on drive H:, this could also be different on yours.
Next, copy the contents for example of a Vista Windows 7 CD to your USB key:
xcopy f:\*.* /s /e /f h:\
Your USB key is now ready to go.
Step 2: Creating the "Monster WIM"
The WIM format introduced with Windows Vista is basically a container for one or more OS images. You can have a look into such a container by starting the WAIK command prompt (see your Windows start menu after installing WAIK) and entering the command "imagex.exe /info x:\sources\install.wim" (assuming x: is your DVD drive). The output will look something like this (some output snipped):
C:\Windows\system32>imagex.exe /info f:\sources\install.wim
ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
WIM Information:
----------------
GUID: {a99a2697-00aa-47fb-a514-86e22cc1a7a6}
Image Count: 6
Compression: LZX
Part Number: 1/1
Attributes: 0xc
Integrity info
Relative path junction
Available Image Choices:
------------------------
(snip)
(snip)
(snip)
As you can see in the partial output above, the WIM contains 6 images; I've included the more important parts of the first two images. Creating the actual WIM is now straightforward enough:
imagex.exe /compress maximum /export f:\sources\install.wim 1 d:\temp\install.wim "Windows Server 2008 R2 Standard (FULL)"
imagex.exe /compress maximum /export f:\sources\install.wim 2 d:\temp\install.wim "Windows Server 2008 R2 Standard (CORE)"
Now insert the next DVD, say with Windows Server 2008 x64, and repeat the process (run "imagex.exe /info …" to see which images to get):
imagex.exe /compress maximum /export f:\sources\install.wim 1 d:\temp\install.wim "Windows Server 2008 Enterprise x64 (FULL)"
imagex.exe /compress maximum /export f:\sources\install.wim 2 d:\temp\install.wim "Windows Server 2008 Enterprise x64 (CORE)"
You don't have to worry about numbering in your newly created WIM file; imagex.exe will assign them automatically in ascending order. If you want to get rid of an image in your WIM, use:
imagex.exe /delete d:\temp\install.wim 1
Step 3: Copying the new WIM file to the USB key
All that remains to do is replacing the "install.wim" on your USB key with your customized one:
copy d:\temp\install.wim h:\sources
Select "Yes" if prompted to overwrite the existing install.wim.
Also take a look at this link http://g0b3ars.wordpress.com/2009/09/20/create-an-all-in-one-win7vistawindows-server-2008-discusb-stick/
Wednesday, November 18, 2009
Update an ESXi Host Using Offline Bundles with the vihostupdate Utility
You can use the vihostupdate utility in conjunction with offline bundles or with a depot. This topic describes
the procedure using offline bundles.
Prerequisites
Before you can update or patch an ESXi host from the command line, you must have access to a machine on which you can run the VMware vSphere Command-Line Interface (vSphere CLI). You can install the vSphere CLI on your Microsoft Windows or Linux system or import the VMware vSphere Management
Assistant (vMA) virtual appliance onto your ESXi host. For information about importing or installing the
vSphere CLI, see the VMware vSphere Command-Line Interface Installation and Reference Guide.
Procedure
1 Power off any virtual machines that are running on the host and place the host into maintenance mode.
2 Find out which bulletins are applicable to the ESXi host.
• Search an offline HTTP server:
vihostupdate.pl --server --scan --bundle http:///rollup.zip
• Search the local machine:
vihostupdate.pl --server --scan --bundle /rollup.zip
The --server argument is the ESXi host name or IP address.
Do not specify more than one bundle ZIP file at the command line each time you run the command. If you
specify --bundle more than once, the command processes only the last file that was specified.
3 (Optional) List all the bulletins that are available in the bundle.
• Search an offline HTTP server:
vihostupdate.pl --server --list --bundle http:///rollup.zip
• Search the local machine:
vihostupdate.pl --server --list --bundle /rollup.zip
This command lists all the bulletins contained in the bundle, even those that do not apply to the host.
4 Install bulletins from the bundle on the ESXi host.
• Install from an offline HTTP server:
vihostupdate.pl --server --install --bundle http:///rollup.zip --bulletin bulletin1,bulletin2
• Install from the local machine:
vihostupdate.pl --server --install --bundle /rollup.zip –bulletin bulletin1,bulletin2
If you omit the --bulletin argument, this command installs all the bulletins in the bundle.
5 Verify that the bulletins are installed on your ESXi host.
vihostupdate.pl --server --query
6 (Optional) Remove individual bulletins.
vihostupdate.pl --server --remove --bulletin bulletin1
Use this option only for removing bulletins that are third-party or VMware extensions. Do not remove
bulletins that are VMware patches or updates. vihostupdate can remove only one bulletin at a time.
Uninstall a Bundle from a Host
Use this procedure to uninstall bulletins that are third-party or VMware extensions.
Do not remove bulletins that are VMware patches or updates.
Prerequisites
Before you can uninstall an update or patch from an ESXi host from the command line, you must have
access to a machine on which you can run the VMware vSphere Command-Line Interface (vSphere CLI). You can install the vSphere CLI on your Microsoft Windows or Linux system or import the VMware vSphere
Management Assistant (vMA) virtual appliance onto your ESXi host. For information about deploying or installing the vSphere CLI, see the VMware vSphere Command-Line Interface Installation and Reference Guide.
Procedure
1 Determine which bulletins are installed on your ESXi host.
vihostupdate.pl --server --query
Note the bundle ID for the bundle to uninstall.
2 Run the vihostupdate command.
vihostupdate --server --remove --bulletin
vihostupdate can remove only one bulletin at a time.
the procedure using offline bundles.
Prerequisites
Before you can update or patch an ESXi host from the command line, you must have access to a machine on which you can run the VMware vSphere Command-Line Interface (vSphere CLI). You can install the vSphere CLI on your Microsoft Windows or Linux system or import the VMware vSphere Management
Assistant (vMA) virtual appliance onto your ESXi host. For information about importing or installing the
vSphere CLI, see the VMware vSphere Command-Line Interface Installation and Reference Guide.
Procedure
1 Power off any virtual machines that are running on the host and place the host into maintenance mode.
2 Find out which bulletins are applicable to the ESXi host.
• Search an offline HTTP server:
vihostupdate.pl --server
• Search the local machine:
vihostupdate.pl --server
The --server argument is the ESXi host name or IP address.
Do not specify more than one bundle ZIP file at the command line each time you run the command. If you
specify --bundle more than once, the command processes only the last file that was specified.
3 (Optional) List all the bulletins that are available in the bundle.
• Search an offline HTTP server:
vihostupdate.pl --server
• Search the local machine:
vihostupdate.pl --server
This command lists all the bulletins contained in the bundle, even those that do not apply to the host.
4 Install bulletins from the bundle on the ESXi host.
• Install from an offline HTTP server:
vihostupdate.pl --server
• Install from the local machine:
vihostupdate.pl --server
If you omit the --bulletin argument, this command installs all the bulletins in the bundle.
5 Verify that the bulletins are installed on your ESXi host.
vihostupdate.pl --server
6 (Optional) Remove individual bulletins.
vihostupdate.pl --server
Use this option only for removing bulletins that are third-party or VMware extensions. Do not remove
bulletins that are VMware patches or updates. vihostupdate can remove only one bulletin at a time.
Uninstall a Bundle from a Host
Use this procedure to uninstall bulletins that are third-party or VMware extensions.
Do not remove bulletins that are VMware patches or updates.
Prerequisites
Before you can uninstall an update or patch from an ESXi host from the command line, you must have
access to a machine on which you can run the VMware vSphere Command-Line Interface (vSphere CLI). You can install the vSphere CLI on your Microsoft Windows or Linux system or import the VMware vSphere
Management Assistant (vMA) virtual appliance onto your ESXi host. For information about deploying or installing the vSphere CLI, see the VMware vSphere Command-Line Interface Installation and Reference Guide.
Procedure
1 Determine which bulletins are installed on your ESXi host.
vihostupdate.pl --server
Note the bundle ID for the bundle to uninstall.
2 Run the vihostupdate command.
vihostupdate --server
vihostupdate can remove only one bulletin at a time.
Tuesday, November 17, 2009
Subscribe to:
Posts (Atom)