Monday, March 9, 2015

Fix: The Group Policy Client Service Failed The Logon (Server 2008 R2)

1.) Login to the machine with the local administrator account or connect remotely from another server. 2.) Delete the profile for the user that's having the problem, i.e. C:\Users\User01 3.) Run Regedit, and remove the profile from HKLM>Software>Microsoft>Windows NT>CurrentVersion>Profile List>(SID) (you can right click on Profile List and do a search for the user name, i.e. User01. 4.) Once found delete the entire KEY for the user. 5.) Double check to ensure it's removed from System Properties>Advanced System Settings>Advanced TAB>User Profiles (Settings...) button> If you see the user in there, delete it too. 6.) Logoff as Local Admin and reboot. (Reboot not required but you may want to to be sure). 7.) Login with domain username.

Thursday, October 23, 2014

IE11 opens Blank Page when you click a link.

Saw this just today. This command fixed it. regsvr32 "%programfiles(x86)%\internet explorer\ieproxy.dll"

Thursday, September 20, 2012

Importing Microsoft Hotfixes into SCUP 2011

Extract only the .CAB file from the MSU (using WinRAR).

In Windows 7 run iexpress.exe. Click Start and in the search box type "Iexpress.exe"

 Click Next on the “Welcome to IExpress 2.0” screen. Click Next on the “Package Purpose” Screen.
On the "Package Title" screen, name the package. I use the name of the CAB – i.e. :
Click Next on “Confirmation Prompt” & “License Agreement” screens.

Click “Add” on the “Packaged Files” Screen and browse to the .CAB file you extracted earlier. Make note of the PATH where that .CAB file is located. You will need that.

Click Next.
On the “Install Program to Launch” screen you will put in the following string in the box next to "Install Program":
dism.exe /online /add-package:”<PATH TO THE CAB>” /norestart

Click Next. Click Next on the “Show Window” screen and “Finished Message” screen.
Click “Browse” on the “Package Name and Options”. Name the file the name of the CAB (minus the .CAB extension obviously).

Click Next. Choose “No Restart” on the “Configure Restart” screen and click Next.
On the “Save Self Extraction Directive” just choose Next. This will save a .SED file that you can open later with IExpress if you need to edit the package. This can come in handy…especially if you made any mistakes. J
Click Next on the “Create Package” screen and VOILA! Your .EXE is ready.

I would recommend running the .EXE to make sure it works. I’ve had cases where the .EXE creates but it is corrupt.  Recreating it fixes the issue.
You can then import the package into SCUP by using the “Create Software Update” wizard and following the steps. Make sure you choose "Use a local source to publish software update content".

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:

C:\ProgramData\Microsoft\Application Virtualization Client\sftlog.txt
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.

C:\Users\%usern%\AppData\Roaming\softgrid client\
C:\Users\%usern%\AppData\Local\SoftGrid Client\
C:\ProgramData\Microsoft\Application Virtualization Client\SoftGrid Client\
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
SFTMIME DELETE obj:app - Just deletes apps for the user- not globally


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:


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%!