Friday, November 28, 2014

Word / Office NoReReg


In some circumstances office applications may attempt to reregister and do self repairs sometimes or all the time at launch.  To prevent re-registration behaviour set this key

[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Options]
"norereg"=dword:00000001

SCCM 2012 Client Tools


System Center 2012 R2 Configuration Manager Toolkithttp://www.microsoft.com/en-gb/download/details.aspx?id=36213

Client Center for ConfigurationManager

SCCM 2012 and its client logs.


Abbreviated List of SCCM 2012 Client log files - see technet link below for full list.

Technical Reference for Log Files in Configuration Managerhttp://technet.microsoft.com/en-us/library/hh427342.aspx#BKMK_ClientLogs

AppIntentEval.log 
Records details about the current and intended state of applications, their applicability, whether requirements were met, deployment types, and dependencies.

AppDiscovery.log 
Records details about the discovery or detection of applications on client computers.

AppEnforce.log 
Records details about enforcement actions (install and uninstall) taken for applications on the client. 


CAS.log
Content Access service. Maintains the local package cache on the client.

Ccm32BitLauncher.log
Records actions for starting applications on the client marked as "run as 32bit".

CcmEval.log
Records Configuration Manager client status evaluation activities and details for components that are required by the Configuration Manager client.

CcmEvalTask.log
Records the Configuration Manager client status evaluation activities that are initiated by the evaluation scheduled task.

CcmExec.log
Records activities of the client and the SMS Agent Host service. This log file also includes information about enabling and disabling wake-up proxy.

CcmMessaging.log
Records activities related to communications between the client and management points.

Ccmsdkprovider.log
Records the activities of the application management SDK.

CcmRestart.log
Records client service restart activity.

CIDownloader.log
Records details about configuration item definition downloads.

CITaskMgr.log
Records tasks that are initiated for each application and deployment type, such as content download or install or uninstall actions.

ClientAuth.log
Records the signing and authentication activity for the client.

ClientLocation.log
Records tasks that are related to client site assignment and management point assignment.

CMHttpsReadiness.log
Records the results of running the Configuration Manager HTTPS Readiness Assessment Tool. This tool checks whether computers have a PKI client authentication certificate that can be used for Configuration Manager.

ContentTransferManager.log
Schedules the Background Intelligent Transfer Service (BITS) or the Server Message Block (SMB) to download or to access packages.

DataTransferService.log
Records all BITS communication for policy or package access.

execmgr.log
Records details about packages and task sequences that run on the client.  This log also shows domain\user which is logged on.

FileSystemFile.log
Records the activity of the Windows Management Instrumentation (WMI) provider for software inventory and file collection.

FSPStateMessage.log
Records the activity for state messages that are sent to the fallback status point by the client.

InventoryAgent.log
Records activities of hardware inventory, software inventory, and heartbeat discovery actions on the client.

LocationCache.log
Records the activity for location cache usage and maintenance for the client.

LocationServices.log
Records the client activity for locating management points, software update points, and distribution points.

MaintenanceCoordinator.log
Records the activity for general maintenance task activity for the client.

PolicyAgent.log
Records requests for policies made by using the Data Transfer service.

PolicyAgentProvider.log
Records policy changes.

PolicyEvaluator.log
Records details about the evaluation of policies on client computers, including policies from software updates.

PolicyPlatformClient.log
Records the process of remediation and compliance for all providers located in %Program Files%\Microsoft Policy Platform, except the file provider.

PolicySdk.log
Records activities for policy system SDK interfaces.

SCClient_<domain>@<username>_1.log
Records the activity in Software Center for the specified user on the client computer.

SCClient_<domain>@<username>_2.log
Records the historical activity in Software Center for the specified user on the client computer.

Scheduler.log
Records activities of scheduled tasks for all client operations.

SCNotify_<domain>@<username>_1.log
Records the activity for notifying users about software for the specified user.

SCNotify_<domain>@<username>_1-<date_time>.log
Records the historical information for notifying users about software for the specified user.

setuppolicyevaluator.log
Records configuration and inventory policy creation in WMI.

smscliui.log
Records usage of the Configuration Manager client in Control Panel.

Smsts.log
Records task sequence activities.

SrcUpdateMgr.log
Records activity for installed Windows Installer applications that are updated with current distribution point source locations.

StatusAgent.log
Records status messages that are created by the client components.

ScanAgent.log
Records details about scan requests for software updates, the WSUS location, and related actions.

SdmAgent.log
Records details about tracking of remediation and compliance. However, the software updates log file, Updateshandler.log, provides more informative details about installing the software updates required for compliance.
This log file is shared with compliance settings.


SoftwareCenterSystemTasks.log
Records the activities for Software Center prerequisite component validation.

UpdatesDeployment.log
Records details about deployments on the client, including software update activation, evaluation, and enforcement. Verbose logging shows additional information about the interaction with the client user interface.

UpdatesHandler.log
Records details about software update compliance scanning and about the download and installation of software updates on the client.

UpdatesStore.log Records details about compliance status for the software updates that were assessed during the compliance scan cycle.
WUAHandler.log
Records details about the Windows Update Agent on the client when it searches for software updates.
Client

Wednesday, November 26, 2014

Web Links


SCCM
Technical Reference for Log Files in Configuration Managerhttp://technet.microsoft.com/en-us/library/hh427342.aspx#BKMK_ClientLogs

Uninstall Folder removal custom action


This custom action does flash up the command window during the uninstall.  However, if the package is designed for silent SCCM installation it will not be seen.


Custom Action
0x0462

  0x022 - local target exe and arguments
  0x040 - continue on Return - ignore exit code
0x0400 - Deferred

Source - SystemFolder

Target - [SystemFolder]cmd.exe /c rd /s /q "[DirTableRef]"

Tuesday, November 25, 2014

Internet Explorer Admin Kit IEAK 11


The IEAK 11 may fail to install with

The Internet Explorer Administration Kit 11 requires that you have Internet Explorer 11 installed.

even if IE 11 is installed.

Create a transform to remove the launch condition check which does not appear to be evaluating correctly.

Monday, November 24, 2014

Command Lines


sysdm.cpl - System Properties
powercfg.cpl
inetcpl.cpl
ncpa.cpl
wscui.cpl - Action Center
desk.cpl -  screen res
smscfgrc.cpl - SCCM 2012 Client Configuration Manager Properties

dsa.msc     AD user computer admin (server tools)
gpmc.msc  Group policy editor/viewer


check the uptime from Statistics since ....  :
net statistics workstation

Friday, November 21, 2014

Tuesday, November 18, 2014

Disable MSI Uninstall


This is an unusual requirement but if there is a situation that justifies disabling the uninstall the following settings provide for it.

Set the standard action LaunchCondition in the InstallExcuteSequence table to have a condition of  REMOVE~="ALL"

Set an entry in the LaunchCondition table

Not Installed      Uninstall Disabled


If an uninstall is started the Condition of the LaunchCondition standard action in the InstallExecuteSequence table evaluates to TRUE

The LaunchCondition of Not Installed evaluates to FALSE and prevents the uninstall from continuing.

If /qb is used "Uninstall Disabled" is displayed to the user.  /qn is fully silent. The uninstall Exit code will be 1603.


Wednesday, November 12, 2014

App-V 5 Launch Failure - may be due to a network failure





The application failed to launch.
This may be due to a network failure
Error code: 0x4C408B0C-80070002


The first response to this message would probably be a considering of weather it was actually a network failure.  Generally this message would appear if the App-V package was unavailable.

However, this can occur if the package has managed to arrive in some partial or corrupted way.  The following powershell commands can resolve this problem and re enable the application to launch correctly

Run as admin:
remove-appvclientpackage -name <PackageName>

Run as user:
get-appvclientpackage -name <PackageName>

this should verify that the package has been removed.

sync-appvpublishingserver 1

to refresh the available App-V packages on the client

get-appvclientpackage -name <PackageName>

to verify the the application is available again.

mount-appvclientpackage -name <PackageName>

to fully pull down the package prior to launching.

Friday, November 7, 2014

Autodesk products needing VC ++


The SCCM deployment fails to install one of the prerequisite VC runtimes.  Installed normally the complete process works correctly.

Where an SCCM deployed installation has occurred.  AutoCAD LT 2015 will fail to launch and generate an error message referring to MSVCP110.dll










To resolve this issue run the installation of the missing Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030.

It is in the source media location .\Img\3rdParty\x64\VCRedist\2012UPD4\vcredist_x64.exe

It can be located in the SCCM cache
C:\Windows\ccmcache\XX\Img\3rdParty\x64\VCRedist\2012UPD4\vcredist_x64.exe


Where XX is the SCCM assigned folder name.  The cache location can be found by searching the cache for acadlt.msi



DWG TrueView 2015 also requires this prerequisite and gives a launch error referring to VCOMP110.dll