Questions tagged [sccm]

System Center Configuration Manager (also known as SCCM) is a systems management software product by Microsoft for managing large groups of Windows-based computer systems. Configuration Manager provides remote control, patch management, software distribution, operating system deployment, network access protection, and hardware and software inventory.

System Center Configuration Manager (also known as SCCM) is a systems management software product by Microsoft for managing large groups of Windows-based computer systems. Configuration Manager provides remote control, patch management, software distribution, operating system deployment, network access protection, and hardware and software inventory.

Before You Post

As SCCM is a product mainly aimed at systems administrators you might also consider searching questions tagged with SCCM on ServerFault for an answer to your question:

https://serverfault.com/tags/SCCM

You should also consider if your question is suitable for StackOverflow. Since StackOverflow mainly caters to developers, good candidates for questions include:

  • Questions regarding the development of extensions to the SCCM console
  • Questions involving programmatic/scripted access to data within SCCM

More general questions regarding SCCM (e.g. managing applications through the SCCM console) may be answered more easily on ServerFault.

Useful Resources

Information regarding the SCCM object model can be found on MSDN:

SCCM 2012: https://msdn.microsoft.com/en-us/library/hh948960
SCCM 2007: https://msdn.microsoft.com/en-us/library/cc145334.aspx

SDKs may also be downloaded from Microsoft:

SCCM 2012: https://www.microsoft.com/en-us/download/details.aspx?id=29559
SCCM 2007: https://www.microsoft.com/en-us/download/details.aspx?id=22552

712 questions
1
vote
1 answer

CCM_Application User available software missing

While querying the namespace root\ccm\clientsdk class ccm_application I've found that it'll contain objects for any triggered application installs and not user available applications. Has anyone found a way around this?
1
vote
2 answers

Get Username from computer name using powershell and sccm

I'm attempting to do the following : Query SCCM using Powershell for a computer name, then, within the output of that, get the UserName. Right now, I am using : Get-CMDevice -name This returns the entire record. Within that is an…
Vidar
  • 41
  • 2
  • 11
1
vote
0 answers

SCCM 1802 - Scheduled deployment WOL not working, but RightClickTools WOL works

I have been trying to figure out why Wake On Lan works for Right Click Tools, but not for SCCM Scheduled Deployments. In the wolmgr.log file I found this happening every five seconds: "Failed to get WOL inbox on AMT Proxy component. Wait 5…
1
vote
2 answers

Repackaging Installshield 5.0 installer to MSI and removing dependencies

I have an installation package that installs a mapping program I use for work. As I now have to upgrade to Windows 10, unfortunately the program won't install as some components are no longer valid and it crashes out part way through…
matthew
  • 377
  • 3
  • 5
  • 16
1
vote
1 answer

PowerShell execution fails due to space in directory name

I have been handed a PowerShell script that executes to install an executable which is placed in the same directory. This is packaged into SCCM (System Center Configuration Manager) for deployment. However, the deployment fails if during package…
Parth Maniar
  • 147
  • 5
1
vote
1 answer

Set Dependent Program to Always run first with PowerShell

When creating standard program for SCCM in the GUI, there is this lovely little checkbox to "Always run this program first": I cannot find a way to check this box with PowerShell. Does anyone know if this is even possible? For those that want more…
smiler07
  • 107
  • 2
  • 5
1
vote
3 answers

Microsoft SCCM documentation for application developers?

Can anyone point me in the direction of documentation or best practices for application developers who wish to support Microsoft SCCM? I would like to add support for Microsoft SCCM to my application, so that customers can use SCCM to both install…
andypea
  • 1,343
  • 11
  • 22
1
vote
0 answers

What should I do to make deployed application to sccm showed up in clients' software center with c#?

The code which I am using is able to show that the application has been deployed but it is not showing up in clients' software center. IResultObject applicationAssignment = this.sccmConnection.CreateInstance("SMS_ApplicationAssignment"); DateTime…
1
vote
1 answer

c# get result from wql inner join with SCCM 2016

From Task Sequence I need to have 2 informations in 2 different classes public static readonly string TSPackageClassString = "SMS_TaskSequencePackage"; public static readonly string TSContainerItem = "SMS_ObjectContainerItem"; My WMI Query …
1
vote
1 answer

I have an issue with sql query to extract install date of software in computer

I have a SQL query that will query for all the products installed on a computer, with the product publisher, name, and version. I have been trying to get the installed dates of the programs but since I'm a newbie at this, I'm really bad at this. So…
Isma Isma
  • 11
  • 2
1
vote
0 answers

Invalid character with Invoke-CimMethod

I am currently working on PowerShell script to create ZTI deployment with SCCM for our computers. The last step of the script is to clear the old PXE Request so that the computer will be "available" for a new deployment on the next reboot. I am…
Patrick Pruneau
  • 669
  • 3
  • 7
  • 14
1
vote
1 answer

When does the start-process get executed?

Basically I'm trying to return exit codes from start-process to the script so that MDT/SCCM can fail correctly if an installation fails. Generically here is the code I'm using: $proc = Start-Process -FilePath $setupexe -ArgumentList $setupargs -Wait…
1
vote
0 answers

Install-ADDSDomainController Credential Error 12

Hello, I am trying to automate the installation and promotion of domain controllers, which are being added to an existing root forest with no child domains. I'm using the following code to perform this action during a ConfigMgr Task Sequence (so…
1
vote
1 answer

How to create a credential of my current user?

How to create a credential of my current user in PowerShell (without prompt)? I invoke a remote script with a service account credential (on SCCM server), I would like to send it my current credential because this remote script needs my local…
Goood
  • 21
  • 1
  • 5
1
vote
0 answers

OS partition coming as RAW after volume cloning in Windows server 2008, 2012 &etc

I'm facing issue On my disk cloning. (ie.) OS partition is coming as RAW instead of NTFS file system after cloning completed. I have used FSCTL_GET_VOLUME_BITMAP Device IO Control API for getting volume bitmap buffer. Using this volume bitmap i…
my2117
  • 143
  • 1
  • 6