Home » microsoft » Page 2

Tag: microsoft

Internet Explorer 10 Maintenance in Group Policy Replacement

The Internet Explorer Maintenance options in group policy are no longer enabled or supported in IE 10.

Previously we used this for setting the users homepage, publishing a few company defined favorites and the Proxy server / pac file.

In order to facilitate the same / similar functionality you need to use GPP, but this can only be performed on a Windows 8 or Windows Server 2012 so you get the options for IE 9 and 10

IE10 in GPP

Its worth noting that GPP makes use of f5,f6,f7,f8 keys to enable or disable the entire page of preference etc.

F5 activates all the options you see. (Green)
F6 activates only the current selected setting. (Turning just this option green)
F7 Disables only the chosen setting. (red/white)
F8 Disables all the settings. (red/white)


Publishing Internet Explorer 10 Favorites is as easy as editing the User Configuration > Preferences > Windows Settings > Shortcuts

Action: Replace, Target Type: URL, Location: Explorer Favorites



SQL Server starts but SQL Service Agent does not with 'Access Denied'

We had an instance where the SQL Server would start but the SQL Server Agent using the same account was unable to start with an Access Denied error.

1) check that the service account is not locked out in AD
2) check that the ‘log on as a service’ rights are still valid and assigned to the service account (it hasnt been lost or revoked) with gpedit.msc
3) try trunning the command of the service directly in the command prompt (so you can see the error message reported back)
General tab of service > Path to executable – copy and paste the entire path into a cmd window.

We received the error
‘SQL Server Agent and StartServiceCtrlDispatcher (error 6)’

This lead to the service not having rights on the logs directory for the SQLAGENT.OUT file.

Check the registry for the for the log location related to the SQLINSTANCE – listed as
HKLMsoftwaremicrosoftmicrosoft sql servermssql.xxsqlserveragentErrorLogFile

Check the permissions on this listed directory, or one of its parents, and that the ‘service’ account has the rights to modify, read write, edit etc etc..

We browsed to a parent directory and just gave full control, then replace existing inheritable permissions to flow down. (i.e x:datamssqlinstance)

(as this service account was used for everything but was just not a local admin of the SQL box)

Service started successfully.

App-V Application refresh failure with same name

Situation: we had recently repackaged a new verson of an applicaiton and though the ucn path had changed, the APP-V name was identical.

Error: The Application Virtualization Client cannot use the OSD file specified because the GUID attribute for the CODEBASE element changed (rc 0C403B04-00001004).

Solution: under sftcmc.msc the properties of the app showed the OSD file pointing to the previous version of the published apps directory

On the server I opened the cmd prompt as ‘run as administrator’ and did the following

list all apps: sftmime query obj:app /short

Remove the application: sftmime.exe remove app:”applicationName” /complete



Automation of Printer settings for PVS images

Scenario: A password protected printer, where the password changes every month. We had to manually enter the new password when our PVS images were rebooted, as we didnt want to update the PVS image with just a password change (we hadnt introduced DFS-R for the PVS image management so it was manual and time consuming)


EXPORT the settings to a file for the specific printer – rundll32 printui.dll,PrintUIEntry /Ss /n “MYLAMEPRINTER” /a “file.dat” u

IMPORT the settings to any server that needed it – rundll32 printui.dll,PrintUIEntry /Sr /n “MYLAMEPRINTER” /a “file.dat” u

Add this as a startup script GPO






App-V Registry Keys to force offline operation

Setting the following keys will allow app-v packages to be installed from the packages MSI (if the option is ticked for said package when sequencing) this should then allow for the packages to be run in offline / disconnect mode indefinitely.

MSI Install Example:

msiexec.exe /i “app-v msi package” sftpath=”path to matching package sft file”

Registry keys (taken from vbscript attached below)


App-V Change Tray Visibility (taken from vbscript attached below)

HKEY_LOCAL_MACHINE, “SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientCustomSettings”

Citrix Keys to prevent citrix thin wire session detection from ‘logging off’ the published App-V application (taken from vbscript attached below)

HKEY_LOCAL_MACHINE,”SYSTEMCurrentControlSetControlCitrixwfshellTWI”,”LogoffCheckSysModules”, strValue
objReg.SetStringValue HKEY_LOCAL_MACHINE,”SYSTEMCurrentControlSetControlCitrixwfshellTWI”,”LogoffCheckSysModules”, strValue & “,sftdcc.exe”

VBScript File (rename from .doc to .vbs)


App-V Sequencing Application doesnt exit

During sequencing and app-v application after sequencing and then runing the first stream for optimisation – the package can launch but not quit out.

The following fixes have worked for me on various occasions




The application had a printer driver it was installing during sequencing and after shutting down the application AND splwow64.exe (or simply stopping the printer spooler service) the Application exited gracefully and immediately.

Fixes here later requried installing the driver into the package, but capturing a default printer (like a PDF printer) that was installed on all servers.


When i figure out another ill post it here… do feel free to fill me in with any others? 🙂




Domain Join fails with 'network location cannot be reached'

Scenario:  When trying to join a domain with any windows flacour pc or server sometimes you will get the following ambigious error. The network is UP, the machine is pingable and DNS resolves as expected.

Error Message: The Following error occured attempting to join the domain “”: The network location cannot be reached. For information about network troubleshooting, see Windows Help.






Solution: Ensure that client for microsoft networks is ticked / enabled under the proprties of the ‘domain’ network interface card