Sunday, September 20, 2009

ERROR: App-V. No connection could be made because the target machine actively refused it. Error code: 4513CDC-19D0682A-0000274D"

When launching a sequenced application you are presented with the following error message:

--------------------------------------------------------------------------------
"The Application Virtualization Client could not update publishing
information from the server .

No connection could be made because the target machine actively refused it.
Error code: 4513CDC-19D0682A-0000274D"
--------------------------------------------------------------------------------

Solution:
Ensure that the "Application Virtualization Management Server" service is Started.

Monday, September 14, 2009

HOWTO: Search Group Names in Active Directory using wildcards

If you want to find a group in Active Directory but can't remember the whole name, you can use wildcards to assist in your search... here's how:

In Active Directory Users and Computers:
1. Find
2. Use the Find drop down list and change to Custom Search
3. Advanced tab
4. Enter in your LDAP query, for example:

name=* Managers
name=UK Company *

To query multiple attributes you can use operaters like &, , !, etc.

Credits:
This post courtesy of
http://www.experts-exchange.com/Software/Server_Software/File_Servers/Active_Directory/Q_24236137.html

http://technet.microsoft.com/en-us/library/aa996205(EXCHG.65).aspx

Wednesday, September 9, 2009

HOWTO: Replace default VMWare VirtualCenter SSL certificate with Enterprise CA certificate

Requirements:
  • Enterprise CA (or Public CA)
1. Download and install OpenSSL (http://www.openssl.org) onto a PC in your domain
2. Navigate to OpenSSL\bin folder
3. Run the command "openssl req -new -nodes -out mycsr.csr -config openssl.cfg"
4. Follow the prompts. When asked to enter "Common Name (eg, YOUR name)" enter the FQDN of the VirtualCenter server.
5. Once complete, there are 2 files created in OpenSSL\bin folder: mycsr.csr and privkey.pem
6. Browse to your Enterprise CA web interface. eg http://enterpriseCA.domain.com/certsrv
7. Select "Request a certificate"
8. Select "advanced certificate request"
9. Select "Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file."
10. Open mycsr.csr (should be in your OpenSSL\bin folder) in Notepad, copy and paste the contents in the "Base-64-encoded certificate request (CMC or PKCS #10 or PKCS #7):" text field
11. Change the Certificate Template to "Web Server"
12. Click Submit
13. Once the certificate has been successfully issued, select "Base 64 encoded" then "Download certificate"
14. Save certnew.cer to a convenient location.
15. Browse to the folder on your VirtualCenter server: "C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\SSL"
16. Backup existing files to another location just in case
17. Copy certnew.cer file and privkey.pem to this folder (both files will be in your OpenSSL\bin folder)
18. Rename certnew.cer file to rui.crt
19. Rename privkey.pem to rui.key
20. Restart VirtualCenter
21. Browse to the FQDN of the VCI. (http://vci.domain.com) and verify certificate is correct and working
22. All done.

----------------
Reference Documents:
http://www.vmware.com/pdf/vi_vcserver_certificates.pdf

Wednesday, August 26, 2009

HOWTO: Convert .crt file into the Microsoft .cer format

Source: https://support.comodo.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=808

-------------------------------------------------------------------------

Double-click on the yourwebsite.crt file to open it into the certificate display.

Select the Details tab, then select the Copy to file button.



Press Next on the Certificate Wizard.
Select Base-64 encoded X.509 (.CER), then Next.



Select Browse (to locate a destination) and type in the filename yourwebsite.
Select Next then Finished.

You now have the file yourwebsite.cer

Sunday, August 16, 2009

HOWTO: Use existing SSL certicate for VMware Security server

Not sure if you guys have figured this out already but after lots of trial and error I did eventually figure this out.

There are some steps that the "View Manager Administration Guide" should have included but they are close. I used "View Manager 3.1" version of the document with the following changes.

The following process assumes that you have installed an internal View Connection Server and the View Security Server software on a machine in your DMZ.

-----------------------------------------------------------------------------

If you have an existing SSL certificate follow the below process:

1. Right click your SSL certificate from IIS or Windows Server using the Certificates Snap-in, select All Tasks > Export

2. On the Welcome Screen click Next

3. On the Export Private Key screen, select "Yes, export the private key", click Next

4. On the Export File Format screen, PFX will be selected, check both "Include all certificates in the certification path if possible" and "Export all extended properties" and click Next

5. Type confirm a password, click Next. (Note: You will need to remember this password for Step 10

6. Enter a name and folder path for the exported certificate, click Next

7. Click Finish.

8. Copy the exported certificate to C:\Program Files\VMware\VMware View\sslgateway\conf on your View Security Server.

9. Create or edit the file C:\Program Files\VMware\VMware View\sslgateway\conf\locked.properties

10. Add the following properties to locked.properties
keyfile=name of exported certificate from Step 6
keypass=password used in Step 5

eg.

keyfile=certificate.pfx
keypass=password

11. Restart the View Connection Service on the security server.

12. Connect to your published https://view.companyname.com and enjoy the wonder of virtual desktops.

Sunday, August 2, 2009

HOWTO: Set timeout options for Remote Desktop Connections

You can set the maximum amount of idle time allowed for remote desktop connections.

  1. From your computer's Start menu, point to Programs, point to Admin Tools, and then click Terminal Services Configuration.
  2. In the right pane of the window, click RDP-Tcp.
  3. Click the Sessions tab.
  4. Specify the values you want to use.

Thursday, July 23, 2009

HOWTO: Enable changing the desktop wallpaper

Symptom:
User is unable to browse for and change desktop wallpaper.

Problem:
The background options on the Desktop tab in the Display Properties are greyed out due to Windows Group Policy enforcement.

Solution:
Open regedit and browse to the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop Change the value of NoChangingWallpaper from 1 to 0.

Then browse to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Change the value of NoActiveDesktop from 1 to 0.