Jump to content


Established Members
  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by kevlar01

  1. You could try this Powershell command: Get-PhysicalDisk | Select FriendlyName,MediaType,DeviceID The mediatype should report back with 'SSD' or HDD'. Maybe you can build in a condition in the step to only run if it is an SSD. edit: in this blog somebody created a more extended script: https://www.vacuumbreather.com/index.php/blog/item/72-dynamically-select-ssd-drive-for-os-installation. It is made for MDT but it looks like it should also work for SCCM.
  2. Create a device collection with computers where you want to keep Chrome. You can exclude this collection when you target your uninstallation deployment. The collection with Chrome users can be maintained manually or based on an AD group for instance (computer is member of security group 'ChromeUsers' or something similar)
  3. What happens if you run the script manually on the computer? Can you publish it as available instead of required? What does the script do? Perhaps it cannot run because it needs to kill a process of some other software first?
  4. Yeah it's pretty complicated stuff. I was planning to follow the next blogs, as we are planning to setup HTTPS in our own environment, so I'm curious thanks again.
  5. Thanks for making this. This made PKI a less tough cookie to crack for me
  6. Checked the value in the registry, it does it exist. However, it points to C:\Program Files\Microsoft Configuration Manager\AdminConsole. This directory doesn't exist, so that may be the issue.
  7. The error was the following: Starting script... Import-Module : Cannot bind argument to parameter 'Name' because it is null. Looks like it cannot use or import the Posh CM module or something....
  8. Thanks for this! Note: it worked for me when I started Powershell ISE via the Configuration Manager Console. http://eddiejackson.net/SCCM/sccm_ps_1.png Running the 'regular' Powershell ISE didn't work for me.
  9. Good to hear that you've managed to get it working. Perhaps the image got corrupted due to offline servicing of Windows updates within the image? Something must have touched the image, making it corrupt.
  10. Perhaps there is a neighboring file server where you can put those files? Instead of injecting them back into the iso file.
  11. Possibly it is something particular to this image. You can also try to rebuild the task sequence from scratch to make sure that is the problem. Fortunately there aren't very much steps. However, when I search for the error (0x80070002) in your log, it brings me to this site: https://prajwaldesai.com/task-sequence-failed-error-code-0x80070002/ It states that possibly something is wrong with your NAA (Network Access Account). Perhaps password expired or wrong?
  12. You could try to redistribute the content for the image. Otherwise, you can also try to deploy a standard wim file (the original from the Windows DVD).
  13. Can you try to add the option FSP=fqdn.of.yourserver in the installation properties?
  14. Does the reboot after the 'Setup Windows and ConfigMgr' step go to the default installed OS or back to the boot image? What happens if you disable the reboot step? Can you post a screenshot of the task sequence steps?
  15. You could also check the deployment for errors in the SCCM console. First, get the deployment ID of the deployment: Go to the task sequence (Software Library -> Operating Systems -> Task Sequences) Open the Deployments tab. Make sure the Deployment ID is enabled by rightclicking the columns) Next: Open Monitoring -> System Status -> Status Message Queries Open 'All Status Messages for a Specific Deployment at a Specific Site'. Fill out the Deployment ID, the Sitecode and the period to search (1hr or 6hrs should be OK). Hopefully you can find the error here which is troubling you right now.
  16. We use a package in our environment (don't use MDT, that's why). 1. copy the file microsoft-windows-netfx3-ondemand-package.cab from your install media to a folder on your SCCM server (sources folder) 2. Create a powershell script with the following code Import-Module Dism $currentLocation = Split-Path -Parent $MyInvocation.MyCommand.Path; Enable-WindowsOptionalFeature -Online -FeatureName NetFx3 -Source $currentLocation -LimitAccess -All 3. Create a package which invokes the ps1 script + the cab file (both in same folder) Hopefully this works for you.
  17. We are using gen 1 VM's, altough I've also tried gen 2. The version of SCCM is 2016 / 1802. Thanks for your efforts
  18. We have trouble using PXE in our environment. Our setup: SCCM 2016 management point in remote datacentre (running on Windows Server 2016) SCCM 2016 distribution point + OSD in local serverroom (running on Windows Server 2016). On this server, 2 network cards are configured. One is connected to the domain, the other is connected to a seperate 'installation LAN'. We also configured DHCP on this server with a binding only to the 'installation LAN NIC'. We also configured DHCP options 60, 66 and 67. On this local server, we installed Hyper-V to run a virtual machine which we can use to create a clean Build and Capture using OSD. However, we cannot boot this virtual machine into PXE. It doesn't seem to get an IP address from DHCP. If we boot up a laptop to the installation LAN, then there is no issue booting up in to WinPE. We've tried several things: Change WDS settings; (set PXE response to respond to all computers / Configured DHCP options / Authorized server in to DHCP / let DHCP give out the multicast address) Changed DHCP options (removed option 60 (PXEClient) / Configured DHCP option to also use BOOTP) Configured different virtual switches in Hyper-V (Internal / external / private), configured RRAS to create a shared NIC, disabled DCHP guard, disabled 'Protected Network' Added computer manually in to SCCM using MAC address. We are running out of options. If I boot up a VM on the laptop using Hyper-V, I don't have any issues. However, we would like to use Hyper-V on the server itself to create images because it is a central and permanent solution. Any suggestions? Many thanks in advance.
  19. Check out this URL http://blogs.technet.com/b/mniehaus/archive/2014/01/10/configuring-file-associations-in-windows-8-1.aspx
  20. Check this blogpost: http://it.peikkoluola.net/2013/09/30/display-a-sccm-collection-variable-and-its-value/
  21. What do you mean with streaming? App-V streaming? Or a multicast stream with OSD?
  22. Try to filter on NT 6.3, perhaps that is a useful alternative?
  23. In that case, you could add the correct registry keys at the end of the task sequence as a workaround. However, this doesn't solve the root cause of the problem, so I'd suggest to keep investigating. What happens if you run ccmeval on the client? Does it repair the agent?
  24. Perhaps your client is stuck in provisioning mode. Can you check the following registry keys on the client: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\CcmExec\ProvisioningMode >>>> value should be false HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\CcmExec\SystemTaskExcludes >>> value should be empty
  • Create New...