Tuesday, March 29, 2011

AppV Troubleshooting

APP-V Client Troubleshooting
There are links at the bottom for more troubleshooting.

Note - If there is a command line listed you can try to run that instead of using the gui, but you need to know the application GUID or complete name where needed.

1st things first
The first thing you should always check is the log:

Win7
C:\ProgramData\Microsoft\Application Virtualization Client\sftlog.txt
WinXP
C:\Documents and Settings\All Users\Application Data\Microsoft\Application Virtualization Client\sftlog.txt
They will tell you lots of information. You can also change the logging level to get more information.

Once you’ve checked the log if there is nothing obvious in there. You should repair the application.

How to repair an application
Repair - When you repair an application, you remove any custom user settings and restore the default settings. This action does not change or delete shortcuts or file type associations, and it does not remove the application from cache.

Repair an application
1.Move the cursor to the Results pane.
2.Right-click the desired application, and select Repair from the pop-up menu.
3.At the confirmation prompt, click Yes to repair the application or No to cancel.
MS Calls this the results pane -

Command Line: SFTMIME REPAIR APP:application (where application is the name of the application you want to repair.)

Didn’t fix it? Then clear the application, just the one application that has issues.

How to Clear an Application
When you clear an application from the console, you can no longer use that application. However, the application remains in cache and is still available to other users on the same system. After a publishing refresh, the cleared applications will again become available to you. If there are multiple applications in a package, the user's settings are not removed until all of the applications are cleared.
To clear an application from the console

1.Move the cursor to the Results pane, right-click the desired application, and select Clear from the pop-up menu.
2.At the confirmation prompt, click Yes to remove the application or click No to cancel the operation.
Command Line: SFTMIME CLEAR APP:application

Didn’t fix it? Then delete the application, just the one application that has issues.

How to Delete an Application
When you delete an application, the selected application will no longer be available to any users on that client. Shortcuts and file type associations are hidden, and the application is deleted from cache. However, if another application refers to data in the file system cache data for the selected application, these items will not be deleted.
After a publishing refresh, the deleted applications will again become available to you.

To delete an application
1.Move the cursor to the Results pane, right-click the desired application, and select Delete from the pop-up menu.
2.At the confirmation prompt, click Yes to remove the application or click No to cancel the operation.
Command Line:
SFTMIME DELETE APP:application - Removes an application record from the file system cache to make it no longer visible. Users’ shortcuts and file type associations are hidden but not deleted. No user settings are removed.
SFTMIME DELETE PACKAGE:package-name - Removes a package record and the applications associated with it.

Didn’t fix it?
Delete OSD Cache filesDelete the OSD Cache file and Package files for the program, try not to delete all of them if you avoid it. Some programs have licensing information that is stored locally; the application will have to be licensed again and may not work correctly if the license was not released before the program was reset.

Win7
C:\Users\%usern%\AppData\Roaming\softgrid client\
C:\Users\%usern%\AppData\Local\SoftGrid Client\
C:\ProgramData\Microsoft\Application Virtualization Client\SoftGrid Client\
WinXP
C:\Documents and Settings\%usern%\local settings\application data\softgrid client\
C:\Documents and settings\%usern%\application data\softgrid client\
C:\Documents and Settings\all users\documents\softgrid client\

SFTMIME CLEAR obj:app - clears all apps for the user
THEN
SFTMIME DELETE obj:app - Just deletes apps for the user- not globally

AND LAST BUT NOT LEAST – DO NOT DO THIS AS YOUR FIRST STEP OF TROUBLESHOOTING.Global Purge:

Configuring Outlook 2010 for Maximum Performance

Turn on Cached Exchange Mode
1. From Outlook – On the Tools menu, click “E-Mail Accounts”, click “View or change existing e-mail accounts”, and then click “Next”.
2. In the Outlook processes e-mail for these accounts in the following order list, click the Exchange Server e-mail account, and then click “Change”.
3. Under Microsoft Exchange Server, select the “Use Cached Exchange Mode” check box.


Disable all Send/Receive Settings
1. From Outlook – On the Tools menu, point to Send/Receive Settings, and then click Define Send/Receive Groups.
2. Under “Setting for group “All Accounts” uncheck all the boxes.
3. Click the “Edit…” button.
4. Uncheck the box for “Include the selected account in this group”.
5. Click “OK” and “Close”
6. Next, click Disable Scheduled Send/Receive
7. Quit Outlook, and then restart Outlook.

Further Troubleshooting
If Outlook performance does not improve please check the following:
1. Check to see if any of their email folders (especially public folder favorites) contain more than 10,000 items. If they do, the user needs to delete items or move them to another folder until the single folder item count is below 5,000 items. You can also delete the public folder favorite.
2. If Outlook performance still is not improved then please recreate the Outlook profile (Important: Close Outlook and Communicator, locate the .OST and delete it.) Go to Control Panel – Mail – Profiles and delete the profiles listed. Launch Outlook and configure Outlook as normal (using the Cached Exchange Mode settings listed above.) Be sure to remap user’s PSTs.
3. If Outlook performance still is not improved, rebuild the user’s Windows profile and then repeat step 2.
4. If Outlook performance still is not improved switch the user from Cached Exchange Mode to Online Mode (by unchecking the “Use Cached Exchange Mode” box.) This step should only be used as a last resort.

Windows 7 Drivers - Stored Locally on PC

If you go here on a Win7 box:

C:\Windows\System32\DriverStore\FileRepository

You will see a ton of folders…each folder corresponds to a driver. Inside each folder is the inf file and any other required files for the driver.
You can sort them by date to see which drivers were just installed.

Win7 saves all drivers you add here. Find the folder that contains the driver you need and copy that folder to your driver repository… name it something descriptive and include it in your driver package.

Win7 will find and use that driver during its plug n play search.

You can effectively decrease your driver packages size by 90%!