Friday, December 28, 2012

Steps if account gets frequently lockout

Try this steps if account gets frequently lockout.

1) remove passwords by clicking on Start => Run => type "rundll32.exe

keymgr.dll, KRShowKeyMgr" and then delete the Domain-related passords;

2) remove passwords in Internet Explorer => Tools => Internet Options =>

Content => Personal Information => Auto Complete => Clear Passwords;

3) Delete cookies in Internet Explorer => Tools => Internet Options =>


4) Disconnect (note the path before disconnecting) all networks drives,

reboot, then map them again;

More often than not it is an explicite drive mapping

You can also take help from Microsoft Acount LockOut tool, Which can be downloaded from the Microsoft website
And run eventcomMT.exe file to check event ids - for this please refer KB824209

Sunday, December 16, 2012

All Citrix Related Issues

For Citrix related issues you can always get the help from their support web site

I've tried this and it really works, It also helps you to find tools required to perform any troubleshooting step

To create a desktop group - Citrix

Before creating a desktop group, understand the different machine types available to you, and note the following:

You can only create a desktop group if at least one machine remains unused in the catalog you select

You cannot use a machine in more than one desktop group

You can create desktop groups from multiple catalogs with the same machine type

You cannot create mixed desktop groups from catalogs with multiple machine types

In Desktop Studio, select the Assignments node in the left pane and click Create desktop group.

On the Catalog page, select a catalog for this desktop group, and enter the number of machines the group will consume from the catalog.

Tip: If machine administrators include the total number of machines in a catalog's description, this appears on the Catalog page. Assignment administrators can use the number in conjunction with their selections in the wizard to ensure sufficient machines are available for the desktop group.

On the Users page, add the users or user groups that can access the desktops, and enter the number of desktops available to each user. You can select user groups by browsing or entering a list of Active Directory users and groups each separated by a semicolon. For private desktop groups, you can import user data from a file after you create the group.

This page is displayed only if the group is based on pooled - static, existing, or physical machines and they have not already been allocated accounts.

On the Machine allocation page, confirm the mapping of machines to users for any machines that were allocated when the catalog was created.

On the Delegation page, select the XenDesktop administrators who will manage this desktop group. All XenDesktop administrators, including help desk administrators, are displayed.

On the Summary page, check all details, and enter a name that users see and a name that administrators see.

To find desktops, sessions, and desktop groups - Citrix

In Desktop Studio, click the Search node.

Enter the name or part of the name of the desktop you want to find.

Optionally, save your search for later use.

Alternatively, use the unfold button to perform an advanced search by building an expression from the available desktop, session, desktop group, or catalog properties.

Use the following tips to speed up your search:

To locate a user device connected to a virtual desktop, use Endpoint and Is, and enter the device's name, or use Endpoint (IP) and Is, and enter the device's IP address.

To locate active sessions, use Session State, Is, and Connected

To list all of the machines in a desktop group, select the group (from the Search or Assignments node) and click View machines

To display other details in search results, right-click a column heading and select Select columns

To enable or disable maintenance mode

XenDesktop regains control over the desktops when you take them out of maintenance mode.

In Desktop Studio, do one of the following:

To locate individual desktops, use Search, or select a desktop group and click View machines

To locate a desktop group, select the Assignments node

Select the desktop or desktop group and click Enable maintenance mode or Disable maintenance mode.

Expand an RDM LUN of a VMware VM

Ensure that there are no snapshots on the disk before attempting this operation. If there are snapshots present, commit them. Otherwise, you may experience data corruption Steps to expand RDM in Physical Compatibility Mode In the vSphere client, select the VM which you want to extend the disk, Edit Settings and check the disk whether it’s a Physical or virtual compatibility mode. 1. If it’s a physical compatibility mode, Good news is no need to do anything from the VM side. No down time required of VM 2. Expand the RDM LUN from the SAN Side – Performed by Storage team 3. Re-Scan the HBA’s at ESX host ( Configuration Tab -> Storage Adapters -> Rescan on top right) and see the new LUN Size is observed 4. Now go to the VM and open Disk Management, you should see extra space available as Unallocated, if not means it’s not expanded properly or require rescan of HBA adapters 5. Open disk part / Ext part utility and extend the available space. Steps to expand RDM in Virtual Compatibility Mode 1. Shutdown the VM and remove the RDM from the virtual machine. Before removing, make note of SCSIX: Y position from VM settings. 2. Expand the RDM LUN from the SAN Side – Performed by Storage team 3. Re-Scan on the ESX and verity the new LUN size is expanded. 4. Recreate the RDM Mapping. Go to VM -> Edit Settings -> Add Hard Disk -> select RDM, then select the same position we noted above for SCSI 5. Start the VM and check in Disk Management 6. Use disk part utility to extend the added space Testing & Confirmation In My Computer, confirm that the desired drive is expanded.

Disk Space Issues

C:\Documents and Settings\All Users\Application Data\Symantec\LiveUpdate\Downloads\* C:\Documents and Settings\All Users\Application Data\Symantec\LiveUpdate\Downloads\* C:\Documents and Settings\All Users\Application Data\Symantec\Cached Installs ( C:\Documents and Settings\All Users\Application Data\GFI\LANguard 10\PatchManagement\* C:\Documents and Settings\All Users\Application Data\VMware\Installer C:\WINDOWS\Installer\$PatchCache$ c:\WINDOWS\ie8updates c:\WINDOWS\ie7updates C:\Windows\SoftwareDistribution\Download\* C:\WINDOWS\ServicePackFiles\i386\* C:\WINDOWS\$NtServicePackUninstall$ C:\Program Files\Altiris\Altiris Agent\Software Delivery c:\Program Files (x86)\Altiris\Altiris Agent\Agents\SoftwareManagement\Software\Delivery\{#} C:\Program Files\Common Files\Symantec Shared\Virusdefs\* C:\Program Files (x86)\Common Files\Symantec Shared\VirusDefs\(old YYYYMMDD.XXX's) C:\Program Files\Symantec\Symantec Endpoint Protection Manager\Inetpub\content" delete numbered folders {1CD85198-26C6-4bac-8C72-5D34B025DE35} C:\Program Files\Program Files\Common Files\Symantec Shared\SymcData\sesmvirdef32" and delete all dated folders (Example: 20071231.002) C:\Program Files\Program Files\Common Files\Symantec Shared\SymcData\sesmvirdef64" and delete all dated folders (Example: 20071231.002) C:\Program Files\Common Files\Symantec Shared\SymcData\ and delete the following folders: \sesmipsdef32 \sesmipsdef64 \sesmvirdef32 \sesmvirdef64 Also - Empty the Recycle Bin once your file deletion has completed.

Passwordless login on Windows through WinSSHD

1. Log into server 2. Launch WinSSHD Control Panel (you can find this by clicking START and using search) 3. Under Settings click Open Easy Settings 4. Go to Tab #3 Virtual accounts 5. Click Add 6. Under Virtual Account Name enter the Unix Name 7. Click Public Keys 8. On new window that opens, click Import 9. Browse to SSH key click OK 10. Click Close to close out the Public Keys window 11. Uncheck “Allow Terminal” 12. To the right of Virtual Filesystem Layout select Limit to root directory 13. A new field will appear “Root Directory” enter the path provided by client. 14. Click OK to close out Account Add window 15. Click Save Changes to close out Easy Settings window.

Replication Test

@echo off echo %date% %time% >>c:\replication.%computername%.log Echo Compiling Replication Summary... REPADMIN /REPLSUMMARY >>c:\replication.%computername%.log Echo Checking DNS... DCDIAG /test:DNS /e /v >>c:\replication.%computername%.log Echo Finished