Xenapp 6.5 fails to launch explorer.exe

Had an issue with a 6.5 farm not loading explorer – would launch the application, load parameters however application would disconnect. To resolve, on the Xenapp box;

1. Install Hotfix rollup 1

2. Make below registry changes

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI
Value Name: LogoffCheckerStartupDelayInSeconds
Type: REG_DWORD
Value: 10

Advertisements

Cisco PBR with routed IP block

In situations where customers have a routed block, sometimes traffic is required to originate from particular IP addresses within that block. In the example below, we will assume the internal host, 10.0.0.168 is required to go out public IP 203.44.44.44.

1. Create ACL and Route-map

ip access-list extended TESTacl

permit ip host 10.0.0.168

 

route-map TESTmap permit 10

match ip address TESTacl

2. Create NAT pool

ip nat pool TESTpool 203.44.44.44 203.44.44.44 netmask 255.255.255.252

3. Create NAT statement

ip nat inside source route-map TESTmap pool TESTpool overload

4. Deny host from original NAT statement; let’s assume we have an ACL CORP-LAN which has a simple permit 10.0.0.0 0.0.0.255 any (line 10), the ACL would be modified to read:

deny 10.0.0.168

permit 10.0.0.0 0.0.0.255

 

To test; you can perform a simple whatismyip or if you’d like to ensure certain ports are going out the right WAN IP, you can telnet to another Cisco unit and check the NAT translations.

Tagged , ,

SBS 2008 + Office365 Autodiscover woes

Had an issue today during cutover from Exchange 2007 to Office 365; almost all machines were Office 2010. Even after running the O365 desktop setup tools, the mail profile would suddenly revert back to the local Exchange store.. this is different to Outlook 2007 clients which is detailed in

 

Here’s how i got around the issue –

1. Open an elevated Exchange Management Shell and retrieve the current autodiscover virtual directory:

>Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, Identity

Copy the Identity value to the clipboard.

2. In the Exchange Management Shell, remove the autodiscover virtual directory:

Remove-AutodiscoverVirtualDirectory –Identity <identity value retrieved above>

You will have to confirm by typing a “A”.

3. Check that the autodiscover virtual directory is gone:

Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, Identity

4. Now, with Outlook running on a desktop, hold the Ctrl button, right-click on the Outlook icon in the system tray, and select Test E-mail AutoConfiguration. Enter your email address and password and click the Test button. The results should come from the Office 365 server.

RDWeb SSO works intermittently

Had an issue with RDWeb SSO working inconsistently between machines. Implemented below fix with no further issues.

http://support.microsoft.com/kb/977507

Tagged

Exchange 2007/2010 bulk import contacts

1. Create CSV file in the following format;

 

2. Detail fields accordingly.

3. Import-Csv contacts.csv | ForEach { New-MailContact -Name $_.displayName -Firstname $_.FirstName -LastName $_.LastName -ExternalEmailAddress    $_.EmailNddress -OrganizationalUnit “Domain.Local/MyBusiness/Contacts” }

Windows Update Error 800B0001

Thanks to KW for the post (http://kwsupport.com/2012/07/windows-update-error-800b0001/)

KB2720211 resolves a known issue with SBS servers/clients not able to check for updates using the on-premise WSUS box, checking online works fine.

Note: No reboot necessary after patch is installed.

 

Tagged

RDWeb application failing to launch from a Sharepoint location

Fix as below –

  1. Ensure the address is added to your repository of Trusted Sites
  2. In Internet Explorer, click Tools -> Internet options -> Security -> Trusted Sites -> Custom Level…
  3. Set
    Initialize and script ActiveX controls not marked as safe for scripting
    to Enabled

RD Easy Print preference in RDS Environments

Had an issue with a users home printer being redirected with the native Easy Print driver, even though the vendor-specific WHQL driver was installed on the server. This was causing the printout to appear in jibberish/windings/garbage. Here’s how i resolved the issue;

Configured GPO – Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Printer Redirection\Use Remote Desktop Easy Print printer driver first – DISABLED

What this will do is look for any installed drivers on the server as a first-match; failing that, the redirection will fall-back to the RDS Easy print driver. In my case, the user had a Brother HL-3040CN. After updating policies and having the user test again, the correct driver was now being imposed and printing working successfully.

Tagged

Adjusting SNR on Cisco’s for stability

Go into global configuration mode and type the following:
service internal
int atm 0
dsl noise-margin (a value between -3 and 3)

I usually set a value of 1 which works well.

The wizard was interrupted before Symantec AntiVirus Corporate Edition could be completely installed

Windows 7 64-bit SP1 – had an issue whereby SEP 11/12 client would not install. No matter what i tried, kept getting to the point within the install where it’d hit “The wizard was interrupted before Symantec AntiVirus Corporate Edition could be completely installed” and fail. I tried to install only the AV component with the same result. After scouring the SEP_INST.log file within the %temp% directory, i stumbled across a forum where the following was suggested –

  1. Delete the “PendingFileRenameOperations” key from HKLM>Sytem>CurrentcontrolSet>Control>session manager – Once deleted, reboot the machine and install LiveUpdate first, then the SEP client – This DID NOT work.
  2. Change the following registry key:

HKEY_USERS.DEFAULTSoftwareMicrosoftWindowsCurrent VersionExplorerUser Shell FoldersAppData

value=%APPDATA%

Change it to:

HKEY_USERS.DEFAULTSoftwareMicrosoftWindowsCurrent VersionExplorerUser Shell FoldersAppData

value=%USERPROFILE%AppDataRoaming – This DID NOT work

       3. Delete the following keys – This WORKED

C:\Program Files (x86)\Symantec

C:\Program Files (x86)\Common Files\Symantec Shared

C:\Program Files\Common Files\Symantec Shared

C:\Users\All Users\Application Data\Symantec

HKLM\Software\symantec

HKCU\Software\symantec

Hope this helps somebody

Tagged , , ,