Windows 10: SCCM- remove the device after successful execution of Task seqeunces

Discus and support SCCM- remove the device after successful execution of Task seqeunces in Windows 10 BSOD Crashes and Debugging to solve the problem; hi Could you please suggest us any solution on the below. After successful deployment of Task sequence the device should be removed from SCCM... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by JessyD2, Nov 16, 2018.

  1. JessyD2 Win User

    SCCM- remove the device after successful execution of Task seqeunces


    hi


    Could you please suggest us any solution on the below.


    After successful deployment of Task sequence the device should be removed from SCCM collection.


    Thanks in Advance..

    Jessy

    :)
     
    JessyD2, Nov 16, 2018
    #1

  2. Execute a command from SCCM Task sequence step "Run a Command line"

    Hi,

    Thanks for your suggestion.

    That will work indeed, however I need to run it from the SCCM Task Sequence's Run Command Line Step and I am not able to figure out how to do that.

    Can we change line while executing command from SCCM Task Sequence's Run Command Line Step?

    Regards
     
    sccm_learner, Nov 16, 2018
    #2
  3. Execute a command from SCCM Task sequence step "Run a Command line"

    Hi,

    I am trying to execute a .batch file within a Task sequence, Install Package Step, during the Windows 10 imaging process.

    The batch file has the following command:

    cd /D C:\windows\system32\wbem

    mofcomp.exe win32_encryptablevolume.mof

    However getting Access denied.

    Also, tried running it manually from the Winpe and it works fine when I browse to the X:\windows\system32\wbem

    and then execute the command mofcomp.exe win32_encryptablevolume.mof

    But when I run it as X:\ Cd X:\windows\system32\wbem\mofcomp.exe win32_encryptablevolume.mof

    It fails

    How can I run the above command from the Winpe by using the "Run a command" step of SCCM Task sequence.

    Any help will be greatly appreciated.

    Regards

    Moved From: Windows / Windows 10 / Files, folders, & storage / PC
     
    sccm_learner, Nov 16, 2018
    #3
  4. SCCM- remove the device after successful execution of Task seqeunces

    SCCM 1606 and Failed Windows 10 1607 Upgrade

    I created a SCCM task sequence using the 'Upgrade an operating system from an upgrade package' template and the task sequence works provided there is not an issue during the upgrade. If the upgrade fails Windows automatically reverts back to Windows 7. This
    is great, but the task sequence never continues and the 'Rollback on Failure' group never executes.

    I have post processing that needs to be executed after a rollback that installs applications which were uninstalled prior to the 'Upgrade Operating System' step being run.

    I found after the rollback that the ccmexec service is disabled. Looking through the logs it is disabled by the 'Upgrade Operating System' step in the task sequence.

    If I manually enable the ccmexec service and restart the machine, Software Center is empty. Forcing a Machine Policy Retrieval & Evaluation Cycle does not fix the problem. Reinstalling the client by running ccmsetup does not fix the problem. The only way
    to get Software Center to show applications is to completely uninstall the SCCM client and then run ccmsetup again.

    Any ideas on how to get the 'Rollback on Failure' group to execute?

    Thanks,

    Scott
     
    Scott Fairchild, Nov 16, 2018
    #4
Thema:

SCCM- remove the device after successful execution of Task seqeunces

Loading...
  1. SCCM- remove the device after successful execution of Task seqeunces - Similar Threads - SCCM remove device

  2. SCCM Device collection

    in Windows 10 Gaming
    SCCM Device collection: in ConfigMgr Console, we have a device collection for all the active devices with membership rules SMS_R_System.Active = 1 and SMS_R_System.Client = 1. If we check device collection properties - Client Activity & Active are little confusing and wanted to understand, how are...
  3. SCCM Device collection

    in Windows 10 Software and Apps
    SCCM Device collection: in ConfigMgr Console, we have a device collection for all the active devices with membership rules SMS_R_System.Active = 1 and SMS_R_System.Client = 1. If we check device collection properties - Client Activity & Active are little confusing and wanted to understand, how are...
  4. SCCM Device collection

    in Windows 10 Customization
    SCCM Device collection: in ConfigMgr Console, we have a device collection for all the active devices with membership rules SMS_R_System.Active = 1 and SMS_R_System.Client = 1. If we check device collection properties - Client Activity & Active are little confusing and wanted to understand, how are...
  5. SCCM Task sequence task 'Restart Computer' not automatic

    in Windows 10 Software and Apps
    SCCM Task sequence task 'Restart Computer' not automatic: When Creating an application task sequence and adding a general "Restart Computer" task, the computer wont restart automatically, I have to log into windows for the task to take effect. For debugging purposes this is an available task sequence but will be deployed as required...
  6. SCCM Task sequence task 'Restart Computer' not automatic

    in Windows 10 Customization
    SCCM Task sequence task 'Restart Computer' not automatic: When Creating an application task sequence and adding a general "Restart Computer" task, the computer wont restart automatically, I have to log into windows for the task to take effect. For debugging purposes this is an available task sequence but will be deployed as required...
  7. SCCM Task sequence task 'Restart Computer' not automatic

    in Windows 10 Gaming
    SCCM Task sequence task 'Restart Computer' not automatic: When Creating an application task sequence and adding a general "Restart Computer" task, the computer wont restart automatically, I have to log into windows for the task to take effect. For debugging purposes this is an available task sequence but will be deployed as required...
  8. SCCM Task sequence

    in Windows 10 Software and Apps
    SCCM Task sequence: When Creating an application task sequence and adding a general "Restart Computer" task, the computer wont restart automatically, I have to log into windows for the task to take effect. For debugging purposes this is an available task sequence but will be deployed as required...
  9. SCCM Task sequence

    in Windows 10 Customization
    SCCM Task sequence: When Creating an application task sequence and adding a general "Restart Computer" task, the computer wont restart automatically, I have to log into windows for the task to take effect. For debugging purposes this is an available task sequence but will be deployed as required...
  10. SCCM Task sequence

    in Windows 10 Gaming
    SCCM Task sequence: When Creating an application task sequence and adding a general "Restart Computer" task, the computer wont restart automatically, I have to log into windows for the task to take effect. For debugging purposes this is an available task sequence but will be deployed as required...