Rerun advertisement if failed/succeeded previous attempt

If you want to rerun a advertisement witch already installed, you need first to remove a registry key:

x86 architecture

HKLM\SOFTWARE\Microsoft\SMS\MobileClient\Software Distribution\Execution History\System\package id

x64 architecture

HKLM\SOFTWARE\Wow6432Node\Microsoft\SMS\MobileClient\Software Distribution\Execution History\System\package id

Then re-run the advertisement in SCCM Client Center.

Download AppX installation file for Windows Store App

How to Download AppX Installation File for redistribution.

If you want to download a AppX Installation file from Windows store, you have to inspect en debug the HTTP traffic between your Windows Store client and the Microsoft Store servers.

Download Fiddler and  Fiddler add-on “Windows 8 AppContainer Loopback Utility”.

Download Fiddler and install

 
Download “Windows 8 AppContainer Loopback Utility” url: http://www.telerik.com/fiddler/add-ons


Start add-on “Windows 8 AppContainer Loopback Utility”.


Select only the “Store” in list and “Save Changes”.

Start Fiddler and clear the current log: Edit – Remove – All Sessions.

Open Windows Store and find and run the installation of the application whitch you want to Download the AppX Installation File.

Switch to Fiddler application and find appx url. Go to “Find”.

Copy the first yellow row with Result 200. Richt click and select Copy – Just Url

Open the url in a Browser and save it as .zip extention. Change it after download to .appx.

Powershell cmdlets for SCCM 2012

PowerShell SCCM cmdlets Get Command Module ConfigurationManager

Added PowerShell modules:

  • Add-CMDistributionPoint
  • Import-CMAntiMalwarePolicy
  • Import-CMDriver
  • New-CMAppVVirtualEnvironment
  • New-CMMigrationJob
  • New-CMPackage
  • New-CMSoftwareUpdateAutoDeploymentRule
  • New-CMTaskSequence
  • New-CMTaskSequenceMedia
  • New-CMUserDataAndProfileConfigurationItem
  • Set-CMApplicationCatalogWebsitePoint
  • Set-CMAppVVirtualEnvironment
  • Set-CMClientPushInstallation
  • Set-CMClientSetting
  • Set-CMDistributionPoint
  • Set-CMDriver
  • Set-CMEndpointProtectionPoint
  • Set-CMEnrollmentPoint
  • Set-CMEnrollmentProxyPoint
  • Set-CMHierarchySetting
  • Set-CMManagementPointComponent
  • Set-CMOperatingSystemImageUpdateSchedule
  • Set-CMOutOfBandManagementComponent
  • Set-CMReportingServicePoint
  • Set-CMSite
  • Set-CMSoftwareUpdateAutoDeploymentRule
  • Set-CMSoftwareUpdatePointComponent
  • Set-CMStateMigrationPoint
  • Set-CMStatusSummarizer
  • Set-CMSystemHealthValidatorPointComponent
  • Set-CMTaskSequence
  • Set-CMUserDataAndProfileConfigurationItem
  • Start-CMDistributionPointUpgrade

To view the lasted Help information:

Update-Help –Module ConfigurationManager

Dubbele MAC adressen

Misschien heb je dubbele MAC adressen in je SCCM omgeving. Als je een apparaat wil inspoelen kan dit voor problemen zorgen omdat SCCM niet weet welk object hij nodig heeft om het apparaat te kunnen inspoelen.

Er zijn twee queries om de dubbele MAC adressen te achterhalen:

Zoek op MAC adres

select distinct *  from  SMS_R_System where SMS_R_System.MACAddresses = “aa:00:bb:11:cc:22”

Zoek op UUID

select *  from  SMS_R_System where SMS_R_System.SMBIOSGUID = “AAAAAAAA-1234-BBBB-5678-901234CDEFGH“

Task Sequence failed to run error 0x80070490

Tijdens het uitrollen van een werkstation met een Task Sequence kan de foutmelding 0x80070490 ontstaan.

De werkstation start in WinPE en vervolgens verschijnt de melding Task Sequence failed error 0x80070490.
De foutmelding ontstaat wanneer de .wim bestand op de lokale hardeschijf wil plaatsen.

Dit is op te lossen door de hardeschijf opnieuw te partitioneren.
Dat kan op de volgende manier:

Zorg dat de WinPE de ondersteuning voor Enable command support (testing only) aangevinkt staat.

Druk binnen de WinPE op F8 en typ de volgende commandline over.

  • diskpart
  • list disk
  • select disk x (vervang de x door het nummer van de hardeschijf)
  • format fs=ntfs quick
  • assign
  • active
  • exit
  • exit

Herstart de werkstation en probeer opnieuw de task sequence op te starten.

No advertisements found

When you will start a deployment and the message “no advertisements found” appears.

Check first if the SCCM object exists with the hostname of the machine.

System Center Configuration Manager
– Assets and Compliance
– Device

If this is true, check if you can “approve” the entry.

If it’s a Unknown object and you have many Unknown objects, it difficult to find the right object.

You can make a Query to find the right object.
Go to:
– Monitoring
– Queries

Right click on Queries and select Create Query
Type a Name.
Select Edit Query Statement

Select Show Query Language

SELECT SMS_R_System.Name, SMS_R_System.MACAddresses
FROM SMS_R_System
WHERE SMS_R_System.MACAddresses = ##PRM:SMS_R_System.MACAdddresses##

Select OK

To execute the Query, select right click on the created query and select Run