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