Share via

sccm Application deployment issues

Bharath Reddy T.A 1 Reputation point
2021-09-02T15:40:35.147+00:00

Hi

Actually we created and deployed one Application by using .vbs commands as installed and uninstalled programs. After some time we deleted deployment, but still few clients executing .vbs Uninstallation command every day after policy retrieval. We noticed this on Appenfore.log with Application name like below

App enforcement environment:
Context: User
Command line: "Uninstall_xxxxxx_xx.x.xx.vbs"
Allow user interaction: Yes
UI mode: 1
User token: not null
Session Id: 12345
Content path: C:\WINDOWS\ccmcache\2b
Working directory:

So is there any way to remove Application deployment completely from all user machines or any action required to perform on sccm database for completed removal of deployment ?

Regards
Reddy

Microsoft Security | Intune | Configuration Manager | Application
0 comments No comments

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 49,441 Reputation points Microsoft External Staff
    2021-09-03T02:54:35.477+00:00

    Hi, @Bharath Reddy T.A
    Thank you for posting in Microsoft Q&A forum.

    Please try hard resetting the policy on the affected clients, run below command on clients with administrator:

    wmic /namespace:\\root\ccm path SMS_Client CALL ResetPolicy 1 /NOINTERACTIVE  
    

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.