Search This Blog

Loading...

Thursday, January 7, 2016

Task Sequence error code (0x80070002)

You might se this error when deploying Windows from a SCCM 2012 R2 task Sequence:

Task Sequence: xxx has failed with the error code (0x80070002)

image

The error is raised during Apply operating System:

image

If we take a closer look at the smsts.log file, you will in this case find the error Empty location for package: and The system cannot find the file specified

image

In the task sequence we might have selected Access content directly from the distribution point but not enabled the correct share setting in the package.

Remove the selection Access content directly from the distribution point and you are good to go.

Alternatively if you want to use the option see http://larslohmann.blogspot.dk/2015/09/apply-wim-directly-from-distribution.html

image

Thursday, December 17, 2015

Multiple PowerShell commands at the same command line

In some situations I want to be able to run 2 or more PowerShell statements on the same line, without using a script (PS1 file).

Semicolon can be used to chain Commands in PowerShell.

powershell -command get-date;get-host

image

This could for example come in handy in a Task Sequence as shown her:

PowerShell -command "&{Import-Module ServerManager;Add-WindowsFeature -Name AS-Ent-Services,AS-Tcp-Port-Sharing,AS-NET-Framework}"

image

Monday, December 7, 2015

System Center 2012 R2 Configuration Manager Toolkit

Microsoft has released an updated version of System Center 2012 R2 Configuration Manager Toolkit.

The Microsoft System Center 2012 R2 Configuration Manager Toolkit contains fifteen downloadable tools to help you manage and troubleshoot Microsoft System Center 2012 R2 Configuration Manager.

System Center 2012 R2 Configuration Manager Toolkit

image

The new version addresses the following issues reported with tools since the release of Service Pack 2 for System Center 2012 Configuration Manager, and Service Pack 1 for System Center 2012 R2 Configuration Manager.

  • The Role-based Administration Modeling and Auditing Tool (RBAViewer.exe) terminates unexpectedly on startup after installing Service Pack 1 for System Center 2012 Configuration Manager R2. RBAViewer has stopped working
    image
  • Collection Evaluation Viewer still lists collections on the incremental tab even after incremental updates are disabled for a given collection.
  • The Power Viewer Tool (PowerVwr.exe) terminates unexpectedly when run on Windows 10 systems.
  • The revised toolkit now creates shortcuts under Microsoft System Center->Configuration Manager in the Start Menu, as instead of Microsoft System Center 2012
    image

From the download link:

The Microsoft System Center 2012 R2 Configuration Manager Toolkit contains fifteen downloadable tools to help you manage and troubleshoot Microsoft System Center 2012 R2 Configuration Manager. The following list provides specific information about each tool in the toolkit.

Note: Items with an * are new in the R2 Toolkit and require Microsoft System Center 2012 R2 Configuration Manager for full functionality.

Server Based Tools

* DP Job Manager - A tool that helps troubleshoot and manage ongoing content distribution jobs to Configuration Manager distribution points.

* Collection Evaluation Viewer - A tool that assists in troubleshooting collection evaluation related issues by viewing collection evaluation details.

* Content Library Explorer - A tool that assists in troubleshooting issues with and viewing the contents of the content library.

Security Configuration Wizard Template for Microsoft System Center 2012 R2 Configuration Manager - The Security Configuration Wizard (SCW) is an attack-surface reduction tool for the Microsoft Windows Server 2008 R2 operating system. Security Configuration Wizard determines the minimum functionality required for a server's role or roles, and disables functionality that is not required.

Content Library Transfer – A tool that transfers content from one disk drive to another.

Content Ownership Tool – A tool that changes ownership of orphaned packages (packages without an owner site server).

Role-based Administration Modeling and Auditing Tool – This tool helps administrators to model and audit RBA configurations.

Run Metering Summarization Tool - The purpose of this tool is to run the metering summarization task to analyze raw metering data

Client Based Tools

Client Spy - A tool that helps you troubleshoot issues related to software distribution, inventory, and software metering on System Center 2012 Configuration Manager clients.

Configuration Manager Trace Log Viewer – A tool used to view log files created by Configuration Manager components and agents.

Deployment Monitoring Tool - The Deployment Monitoring Tool is a graphical user interface designed help troubleshoot Applications, Updates, and Baseline deployments on System Center 2012 Configuration Manager clients.

Policy Spy - A policy viewer that helps you review and troubleshoot the policy system on System Center 2012 Configuration Manager clients.

Power Viewer Tool – A tool to view the status of power management feature on System Center 2012 Configuration Manager clients.

Send Schedule Tool - A tool used to trigger a schedule on a client or trigger the evaluation of a specified DCM Baseline. You can trigger a schedule either locally or remotely.

Wakeup Spy – A tool that provides a view of the power state of Configuration Manager client computers and which operate as managers or manages.

Supported Operating System
Windows Phone 7, Windows Phone 8, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2
These releases are compatible with System Center 2012 Configuration Manager and later.

image