Home

Uninstall application using intune

%3CLINGO-SUB%20id%3D%22lingo-sub-286404%22%20slang%3D%22en-US%22%3EUninstall%20application%20using%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286404%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWe%20are%20using%20Box%20as%20a%20filshare%20system%20and%20we%20need%20to%20push%20out%20Box%20Drive%20to%20all%20clients.%3CBR%20%2F%3EBefore%20we%20can%20do%20that%20we%20need%20to%20uninstall%20%22Box%20Sync%22%2C%20is%20there%20a%20way%20to%20uninstall%20box%20sync%20using%20Windows%20App%20win32%3F%20We%20have%20not%20pushed%20out%20box%20sync%20through%20intune.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-286404%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESoftware%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-289233%22%20slang%3D%22en-US%22%3ERe%3A%20Uninstall%20application%20using%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-289233%22%20slang%3D%22en-US%22%3EYes!%20it%20works%20%3AD%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20as%20always!%3CBR%20%2F%3EThe%20only%20thing%20it%20did%20not%20was%20to%20remove%20the%20application%20icon%20but%20removed%20it%20from%20the%20system.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-289220%22%20slang%3D%22en-US%22%3ERe%3A%20Uninstall%20application%20using%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-289220%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20looks%20like%20your%20detection%20rule%20definition%20is%20wrong.%20The%20agent%20looks%20for%26nbsp%3B%3CSPAN%3EC%3A%5CProgram%20Files%5CBox%5CBox%20Sync%5CBox%20Sync.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20think%20this%20comes%20from%20the%20wrong%20entry%20in%20the%20field%20Path.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20should%20enter%20in%20Path%3A%26nbsp%3B%3CSTRONG%3EC%3A%5CProgram%20Files%5CBox%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eand%20you%20should%20enter%20in%20File%20or%20folder%3A%20%3CSTRONG%3EBox%20Sync%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20will%20result%20in%20the%20full%20path%3A%20C%3A%5CProgram%20Files%5CBox%5CBox%20Sync%20and%20not%20the%20wrong%20one%20from%20above.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ebest%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EOliver%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-289214%22%20slang%3D%22en-US%22%3ERe%3A%20Uninstall%20application%20using%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-289214%22%20slang%3D%22en-US%22%3ECorrect%2C%20detection%20rule%20does%20not%20work.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CTIME%3E%3CBR%20%2F%3E%3CTIME%3E%3CBR%20%2F%3E%3CTIME%3E%3CBR%20%2F%3E%3CBR%20%2F%3Ethe%20path%20is%20correct%20c%3A%5Cprogram%20files%5Cbox%5Cbox%20sync%3CBR%20%2F%3E%3C%2FTIME%3E%3CLINGO-SUB%20id%3D%22lingo-sub-289208%22%20slang%3D%22en-US%22%3ERe%3A%20Uninstall%20application%20using%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-289208%22%20slang%3D%22en-US%22%3E%3CP%3EMight%20you%20be%20able%20to%20share%20the%20Agent%20logfile%3F%3C%2FP%3E%0A%3CP%3EC%3A%5CProgramData%5CMicrosoft%5CIntuneManagementExtension%5CLogs%5CIntuneManagementExtension.log%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eseems%20like%20the%20detection%20rule%20does%20not%20work...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-289205%22%20slang%3D%22en-US%22%3ERe%3A%20Uninstall%20application%20using%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-289205%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20just%20gave%20it%20a%20try.%3CBR%20%2F%3E%3CBR%20%2F%3EDetection%20rule%26nbsp%3B%3CBR%20%2F%3ERule%20type%3A%20file%3CBR%20%2F%3EC%3A%5CProgram%20Files%5CBox%5CBox%20Sync%3CBR%20%2F%3EDetection%20method%3A%20file%20or%20folder%20exists.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EInstall%20command%3A%3CBR%20%2F%3EBoxSyncSetup.exe%20%2Finstall%20%2Fquiet%20%2Fnorestart%3CBR%20%2F%3E%3CBR%20%2F%3EUninstall%20command%3A%3CBR%20%2F%3EMsiExec.exe%20%2FX%7BBFA57077-F78C-4B92-815E-7BCDA6B9686E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethe%20status%20message%20I%20get%20is%20%22not%20installed%22%20and%20box%20sync%20are%20not%20removed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-288839%22%20slang%3D%22en-US%22%3ERe%3A%20Uninstall%20application%20using%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-288839%22%20slang%3D%22en-US%22%3E%3CP%3EFind%20the%20install%20and%20uninstall%20command%20line%20for%20the%20BoxSync%20software%20for%20silent%20install%20and%20uninstall...%20e.g.%20boxsync.exe%20%2Finstall%20%2Fsilent%20or%20boxsync%20%2Funinstall%20%2Fsilent%20and%20create%20your%20app.%20The%20app%20will%20check%20if%20you%20have%20specified%20a%20detection%20method%20if%20it%20is%20installed%20and%20will%20trigger%20a%20uninstall%20if%20you%20do%20a%20uninstall%20assignment.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20samples%20above%20are%20just%20samples%20I%20don't%20know%20the%20correct%20uninstall%20command%20for%20boxsync.%20I%20suggest%20you%20search%20at%20the%20vendor%20FAQ%20or%20Manual%20to%20get%20the%20command%20line.%20Otherwise%20try%20google%20there%20will%20be%20for%20sure%20someone%20how%20knows%20the%20command%20line%20and%20posted%20it%20somewhere.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-287151%22%20slang%3D%22en-US%22%3ERe%3A%20Uninstall%20application%20using%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-287151%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Oliver%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20uploaded%20BoxSync%20trhough%20Win32.%3CBR%20%2F%3EI%20am%20at%20the%20stage%20where%20I%20need%20to%20fill%20in%20install%20command%20and%20Uninstall%20Command%20and%20both%20field%20are%20required.%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20should%20I%20type%20in%20there%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286836%22%20slang%3D%22en-US%22%3ERe%3A%20Uninstall%20application%20using%20intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286836%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ethat%20should%20be%20possible%2C%20package%20the%20Box%20Sync%20software%20via%20Intune%20Win32%20support%20(.intunewin)%20and%20specify%20the%20uninstall%20command%20line%20correctly.%20As%20a%20detection%20rule%20use%20something%20to%20identify%20if%20it%20is%20installed%20like%20.exe%20file%20in%20the%20Program%20path%2C%20then%20target%20with%20assignment%20%22uninstall%22%20to%20you%20devices%20where%20it%20is%20actually%20installed%20and%20this%20should%20trigger%20the%20uninstall.%20I%20can't%20see%20why%20this%20should%20not%20work.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FTIME%3E%3C%2FTIME%3E%3C%2FLINGO-BODY%3E
Deleted
Not applicable

Hello,


We are using Box as a filshare system and we need to push out Box Drive to all clients.
Before we can do that we need to uninstall "Box Sync", is there a way to uninstall box sync using Windows App win32? We have not pushed out box sync through intune.

8 Replies

Hi,

 

that should be possible, package the Box Sync software via Intune Win32 support (.intunewin) and specify the uninstall command line correctly. As a detection rule use something to identify if it is installed like .exe file in the Program path, then target with assignment "uninstall" to you devices where it is actually installed and this should trigger the uninstall. I can't see why this should not work.

 

best,

Oliver

Hello Oliver,

 

I uploaded BoxSync trhough Win32.
I am at the stage where I need to fill in install command and Uninstall Command and both field are required.

What should I type in there?

Find the install and uninstall command line for the BoxSync software for silent install and uninstall... e.g. boxsync.exe /install /silent or boxsync /uninstall /silent and create your app. The app will check if you have specified a detection method if it is installed and will trigger a uninstall if you do a uninstall assignment. 

The samples above are just samples I don't know the correct uninstall command for boxsync. I suggest you search at the vendor FAQ or Manual to get the command line. Otherwise try google there will be for sure someone how knows the command line and posted it somewhere. 

Hello,

I just gave it a try.

Detection rule 
Rule type: file
C:\Program Files\Box\Box Sync
Detection method: file or folder exists.


Install command:
BoxSyncSetup.exe /install /quiet /norestart

Uninstall command:
MsiExec.exe /X{BFA57077-F78C-4B92-815E-7BCDA6B9686E}

 

the status message I get is "not installed" and box sync are not removed.

Might you be able to share the Agent logfile?

C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log

 

seems like the detection rule does not work...

Correct, detection rule does not work.

<![LOG[[Win32App] Start detectionManager SideCarFileDetectionManager]LOG]!><time="12:01:09.3039743" date="11-20-2018" component="IntuneManagementExtension" context="" type="1" thread="3" file="">
<![LOG[[Win32App] Path doesn't exists: C:\Program Files\Box\Box Sync\Box Sync applicationDetected: False]LOG]!><time="12:01:09.3072059" date="11-20-2018" component="IntuneManagementExtension" context="" type="2" thread="3" file="">
<![LOG[[Win32App] Checked under Path: C:\Program Files\Box\Box Sync, filePath:C:\Program Files\Box\Box Sync\Box Sync, agent was checking under expanded: C:\Program Files\Box\Box Sync\Box Sync, applicationDetected: False]LOG]!><time="12:01:09.3079395" date="11-20-2018" component="IntuneManagementExtension" context="" type="1" thread="3" file="">

the path is correct c:\program files\box\box sync

It looks like your detection rule definition is wrong. The agent looks for C:\Program Files\Box\Box Sync\Box Sync.

I think this comes from the wrong entry in the field Path.

You should enter in Path: C:\Program Files\Box

and you should enter in File or folder: Box Sync

This will result in the full path: C:\Program Files\Box\Box Sync and not the wrong one from above.

 

best,

Oliver

Yes! it works :D

Thank you as always!
The only thing it did not was to remove the application icon but removed it from the system.
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies