You ned a CMD with System rights, as like SCCM runs?

You ned a Command-Prompt so you can test/run Command-Lines to test youre Packages with the same User Credentials as SCCM (System) Here you have a possible solution step by step:

  1.  Create a Pakage in Youre Enviroment, don’t need a Package source, fill out the General Informations
  2. You dint need a Distribution Point to replicate
  3. Create a Program a)General;
    1. Name: xxx
    2. Comment: xxx
    3. Command line: cmd.exe
    4. Run: Normal (standard)
    5. After running: No action Required (standard)
  4. b) Requirements; Maximum allowed run time (minutes): set Unknown
  5. c) Enviroment;
    1. Program can run: Only when a user is logged on
    2. (Run mode) set=Run with administrative rights, set=Allow users to interact with this program
  6. d) Advanced;
    1. Wehn this program is assigned to a computer: set= Run once for the computer
      and set= Suppress program notifications 
  7. Create an Advertisement
    1. a) General; Search the new Created Package, selct youre Program, select youre Collection
    2. b) Schedule; set only the Advertisement start time, the rest are empty on this register
    3. c) Distribution Points; set= Download content from distribution point and run locally
                                            set= Download content from distribution point and run locally
  8. Finish -> Testing

Go to Client -> Sart -> Control Panel -> Programs ->
Run Advertised Programs -> select the Advertisement and RUN

You can do it also for Powershell, but in de Program, go on “Brows” Search Powershell.exe (C.\Windows\system32\Windowspowershel\v1.0\v2.0\powershell.exe doubbleclick and save! This works fine 😉

have Fun, hope it helps
no guarantie


Comments

Leave a Reply

Follow

Get every new post delivered to your Inbox

Join other followers:

%d bloggers like this: