SCCM

1K

Solutions

867

Contributors

Systems Center Configuration Manager (SCCM, formerly known as Systems Management Server) is Microsoft’s system software for managing large groups of not only Microsoft computers, but those running other operating systems, such as Linux, OS-X, and various mobile technologies.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi,

I thinking about setup SCCM for my environment,

I currently have
2x DC’s
1x Exchange
2x RDS Session Hosts
1x WDS
150 users over 4 offices

Will I need to setup CA to use SCCM?

Thanks
0
Is it a good idea to have an SCCM distribution point serve as a DHCP server as well?   Why or why not?
0
Hi,

I'd need a sql query which matches:
-vendor,name,version of SQLTableSoftware
-to a SQLTableSCCM then get the status,deployedcollection of that SCCM

So that would be <pseudoscript>

---

select * from tblSoftware

WHERE Vendor,Name,Version are equal to  --Example Mozilla,Firefox,60.0
Vendor,Name,Version in tblSCCM -- Example Mozilla,Firefox,60.0

When Match then show Status and DeployedCollection of tblSCCM
If no match, show '' -- Example Mozilla,Firefox,60.0,Deployed,CollectionXYZ
0
Hi,

Can I safely reboot a sql server which is behind an sccm?
Ios: can it safely  live without sql for some time?
If yes, please refer to official documentation.
Thanks!
0
Hi Experts,

I'm trying to build in some error handling to tie the script below together and am stuck, any help with this is appreciated.

Issue:  for any computers that are offline, I'm getting RPC unabilable errors and these continue to process through the loop

Here is what I'm trying to accomplish:

1.  For error handling, is there a way to have a function determine whether the computer is up or not >  then return $true or $false and put into a condition for if.  If it's not up, is there a way to pause until it responds or break out of the loop for just that computer?  If it's up, then do patching/install functions in the workflow.

2.  In the process-monitor function (6) - I wanted to log into the .csv if this was online or offline.

3. I wanted to incorporate a function that checks for any missing or pending updates to determine if the workflow needs to be processed. (I left (2) empty for this), not sure how to accomplish this and then condition.  Here are the queries:

get-wmiobject -query "SELECT * FROM CCM_SoftwareUpdate WHERE ComplianceState = 0" -namespace "ROOT\ccm\ClientSDK"  #which updates are missing:

Open in new window


(get-wmiobject -query "SELECT * FROM CCM_SoftwareUpdate" -namespace "ROOT\ccm\ClientSDK").name  #show needed updates

Open in new window


-Then if the above are true, trigger all, which I have in (5):

([wmiclass]'ROOT\ccm\ClientSDK:CCM_SoftwareUpdatesManager').InstallUpdates([System.Management.ManagementObject[]] (get-wmiobject -query 'SELECT * FROM CCM_SoftwareUpdate' -namespace 'ROOT\ccm\ClientSDK'))

Open in new window


Here is what the script does, I've numbered all functions in order:
1 - Test-Connection
2 - detect missing/pending
3 - detect pending reboot
4 - run advert
5 - invoke all updates
6 - process monitor
6a - call from within process monitor function to send email

Thanks!


Open in new window

0
My organization is currently using SCCM version 1902.

We have some Windows 7 machines and Windows 10 initial install machines that both need to be upgraded to the latest version of Windows 10 using SCCM.

All of these computers are joined to the Active Directory domain and have the SCCM client installed.

SCCM is currently configured to load the latest Windows 10 operating system to computers and virtual machines using PXE boot. Now we need to upgrade these existing Windows operating systems to Windows 10.

What are the steps to upgrading these existing operating systems to the most current version of Windows 10?

SCCM Operating Systems
0
Hi Experts,

Looking for some expertise with this script.

Here is what the script does:

1) Reads from a text file with computer names and remotely runs a SCCM advertisement.

2) The advertisement opens some processes - which I have in a loop in this script.  

3) When the processes read 0 the loop is completed, then moves to the next command to RESTART the computer.

4) Is there any way to have this run 3 times, and then shutdown on the 3rd time?

$OutArray = @()
workflow foreachrerun {
    param([string[]]$computers)
    foreach –parallel ($computer in $computers) {
       InlineScript {
Function Start-CCMRerunAdvertisement {
    [CmdLetBinding()]Param(
        [Parameter(Mandatory=$true)][string]$computerName,
        [Parameter(Mandatory=$false)][string]$advertisementId = "*",
        [Parameter(Mandatory=$false)][string]$packageId = "*",
        [Parameter(Mandatory=$false)][int]$maxRun = 1
        #[Parameters(Mandatory=$false)][switch]$moreThanPing = $false
    )
    if($advertisementId -eq "*" -and $packageId -eq "*") {
        Write-Error "You must supply either an AdvertisementID or a PackageID"
        return "Missing Parameters"
        break
    }
    $searchString = "$advertisementId-$packageId-*" 
    if(!(Test-Connection -ComputerName $computername -ErrorAction SilentlyContinue)) {
        if($moreThanPing) { 
            if(!(Get-ChildItem "\\$computername\c$" -ErrorAction SilentlyContinue)) {
                Write-Error "System 

Open in new window

0
Hi,

I have a PowerShell script which does complicated queries to sccm on a daily basis.
I d like to create a scheduled job which puts the output in a Microsoft Sql database.
I can create the initial database and fill.it up with data but how to update it correctly via sql?
So that would be $sccmdata | foreach item
If  not exist delete, if exist update if not exist create
Please help with the sql query and ps script
J
0
Hi,

I d like to have a daily or weekly sql ssrs report of ALL software users have on their pc (add/remove programs?) by querying our sccm 2012 server (latest version) plus number of installs per item/preferably also clickable that it shows the list of pcs per software.
Nice would also be to map it to sccm.itself: do.we have it in sccm (or was it installed nu user manually).

I d like to be able to exctact the data in Powershell so I can work with it. F.e. $alllsoft | get top 10 foreach ...

Thanks!
J
0
We recently dealt with an expiring certificate for a SubCA and the original offline RootCA was no longer available. We managed to create a new offline RootCA and use it to get the SubCA a new SubCA certificate. Since doing this, however, our SCCM hasn't been working properly. When looking at the list of Devices, all of them are shown as grey with an X; client activity shows as inactive and the last update was 7-10 days ago. Any help would be appreciated!
0
Hello, we use SysInternals Autologon tool to configure generic user accounts to automatically log into Windows on many kiosk type PCs. I'm working on automated Win7 to Win10 (Pro OS) upgrades using SCCM task sequences, and the kiosk PCs configured to log in automatically are coming out of the upgrade unable to log into Windows.

Instead of logging in automatically or being prompted to enter domain credentials, the kiosk PCs are instead prompted to enter a Microsoft account email or phone number, with no option to log in with a different type of account.

I thought a solution may lie in the "LastLoggedOnProvider" registry value under the "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" key, but so far I've been unsuccessful in that troubleshooting route.

Has anyone seen anything like this before?
1
I'm using SCCM 1810 to push Acrobat updates to a set of Windows 10 computers.  8 of 12 work just fine.  4 of 12 show up in the error tab and in the success tab.  The error is the same for all 4 computers

0x87D00324 (-2016410844)  The application was not detected after installation completed.


I know the update installed b/c I visually confirmed it on each computer.  The other 8 computers report back success.  

I've tried updating the content of the deployment, then forcing a machine policy action on the clients.  

I've tried a full SCCM policy reset (WMIC /Namespace:\\root\ccm path SMS_Client CALL ResetPolicy 1 /NOINTERACTIVE).

I've tried removing and re-installing the SCCM client (but I think I forgot to delete the "CCM" and "CCMCACHE" directories before re-installing).

I believe the source of my problem is a previous revision where I had the detect clause defined incorrectly.  While I have it correct now (assuming so since 8 of 12 clients can detect), and I don't see any references to the older revisions, I fear the 4 computers have a reference to a old revision buried somewhere.

I saw in a discussion that his errors were due to old revisions of his advertisement, and once he found those in the registry and deleted them, his errors flipped to successes.  My problem is I can't find any reference to my SCCM advertisements in the registry.  I don't know where to look.

Does this (delete old advertisements in registry) idea sound familiar to anyone?
0
I recently upgraded my configuration manager to 1902. After the upgrade, my PXE stopped working at all my distribution points.

I have two scenarios at different site
1. Windows Deployment Service encountered an error: Error Code: 0x000000f
2. Stuck at WDS Boot Manager version 0800 then give n error message.

Kindly see the attachment for the two errors at different sites
IMG_20191217_111130.jpg
2.jpg
0
Afternoon all,

Is it possible to pipe in a list of usernames to SCCM and have it pump out the machine they last logged onto? I thought the get-CMUserDeviceAffinity would do it but it appears it won't take the username and give me a machine name.

Thanks
alex
0
Hi,

How can I (Powershell based) check if a certain application exists in sccm software center and install.if it does?

J
0
Windows 10 Zero Touch deployment.

I would like to know exactly what ZT deployment is. in some articles, they mention MDT needs to be installed and integrated with SCCM. So with SCCM by itself we cannot do ZT deployment ?
I have also seen WDS mentioned in some articles.
Can someone clarify the ZT Deployment concepts and where MDT and WDS fit in SCCM ?

Thank you
0
Update UEFI Version before Re-imaging the computer using SCCM

in this scenario , I would like to update UEFI (BIOS) version before proceeding with the Re-image of the computer.
I have seen in one environment, where they  put USB stick in the  USB slot, they boot to F12, an option will show up stating "Flash Update" , once selected it opens up a GUI to select the Model of the PC to which you want to update UEFI(BIOS).
I am not sure how to make that happen [I mean the FLash Update selection to show up, and the GUI that will enable you to select the PC model to update the UEFI(BIOS) to ]
By the way they use Dell PCs, so it might be a Utility from Dell that can carry out this process.... I would like to know about it, how it is set up.

Thank you
0
Organize SCCM Clients to match Organization Units.

When SCCM DIscovers Computers joined or non- joined to the domain, there is no way to tell on  which Active DIrectory OUs they reside , and there is no way also to tell if a computers is   non-joined to the domain.

I would like to know if there is a trick to that to organize SCCM Clients to match their locations in Active Directory

Thank you
0
I have installed a new SCCM 2019 (1906) server as a CAS and have a separate DC server. We planning on setting up the CAS server role in our main site then create two other secondary sites for remote offices. When I go to discovery methods only the Forest Discovery is listed since I only have a CAS server. Do I need to setup another server in our main site to add the other discovery methods or is there a role I could add to the cas  server which is at our main site?
0
Hi,

Is there a way to integrate Chocolatey FREE into sccm?

J
0
SCCM Required and Available Install

I am trying to Deploy Task Sequence from SCCM, when I select Required and click next, I get the popup error shown on the screenshot below.
Any reason why this is happening?

Thank you

r
0
SCCM Device Collection shows Devices that do not belong to the Collection

I have created a Collection named "OnePc", I put just one device Win7 in it. However when I select the collection I can see all devices in it. The "Remove from Collection" button is greyed out for all devices except Win7 device, which is true , that's the only device that should show up in that collection.

Thank you

c
0
Default Boot Images on SCCM 1606

I would like to know how do Default Boot Images  get installed by Default on SCCM 1606 ?
Do they show up after the  install the Windows ADK ?
Talking about ADK do I need to install Windows PE add-on for the ADK ?

Thank you
0
Understand SCCM Versions.


I believe Microsoft has not release any SCCM version in the name pattern as the old patterns SCCM 2007, SCCM 2012. It stopped the naming  on SCCM 2012 R2, after that it started adding Build Numbers based on the years of release.
For instance:

SCCM 2012 R2 release in 2015 is call SCCM  1511
SCCM 2012 R2  release in 2016 is call SCCM  1606

They are based on Year and Month of build.  

However there are versions like :
Current Branch
Technical Review

What are they for ?

Any clarifications on this topic will be very much appreciated.

Thank you
0
Boot Image not currently in the Distribution Point

I am going through Task Sequence Media wizard, but I keep getting error shown in the screenshot below about  "The Boot image is currently not available in the Distribution Point"

However when I check the Distribution Point the boot image is there, you can see it on the screenshot below.

Thank you

bibg
0

SCCM

1K

Solutions

867

Contributors

Systems Center Configuration Manager (SCCM, formerly known as Systems Management Server) is Microsoft’s system software for managing large groups of not only Microsoft computers, but those running other operating systems, such as Linux, OS-X, and various mobile technologies.