• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - joeOPD

#1
so if have 3 groups.
- Group 1: immediate
- Group 2:  3 days
- Group 3:  8 days (hypothetical)
- Sync run every 7 days and everyone is on Chrome 105

Chrome 106 comes out ->
day 1: group 1 gets it ->
Day 3 group 2 gets it
Day 4 Chrome 107 comes out on day 4;
Day 7 Sync runs and group 1 gets chrome 107

what happens on day 8?  The reason I ask is that printerlogic (which thank you for putting in there) updates about every 3 days.
 
#3
If I have a 32 bit and 64 bit app up for install (like 7-zip) does Intune or PMPC default to the x64 app.  Also, if there's a 32bit app on the machine already but I deploye the x64 version does it basically overwrite/upgrade the app to an x64 app?

Basically, when choosing between an x86 and x64 app, I want to eliminate as many x86 apps as possible. 
#4
Quote from: Adam Cook on March 25, 2022, 02:45:29 AM
Yeah absolutely, if you know the UninstallString you can totally do that. Product codes _generally_ change between versions of software, so if that product code is consistent across all the devices you're targetting, you should be good - otherwise that's why the previously mentioned script is good. It helps you trigger the UninstallString if all you know is the product name, and have a mix of versions of said product.

I know it's outside your scope (i.e. outside the product) but should you be bored...  https://serverfault.com/questions/1097162/intune-win32-app-uninstall-powershell-script-no-checking-registery

Basically, I created something similar to you which would allow my staff to put a product name in and deployed it as win32 app but the registry is not working.   Feel free to not invest any time because it's outside the scope of patchmypc.
#5
Quote from: Adam Cook on March 25, 2022, 02:45:29 AM
Yeah absolutely, if you know the UninstallString you can totally do that. Product codes _generally_ change between versions of software, so if that product code is consistent across all the devices you're targetting, you should be good - otherwise that's why the previously mentioned script is good. It helps you trigger the UninstallString if all you know is the product name, and have a mix of versions of said product.
That's great!  Typically, I know the string because we are using vulnerability management software.  Oracle 10.0.2 is in our environment.  I added that one line to Intune but it's only successful part of the time.  Hoping I can get some consistency for software not in PMPC

Good news is that the OneDrive install through PMPC, wait a few days, then uninstall seems to have removed it.
#6
Quote from: Adam Cook on March 24, 2022, 08:44:14 AM
You could deploy it as a proactive remediation script in Intune, or package it in a custom Win32 package - both could work. I think the former might be easier.

It's general enough to work with any software that appears in the registry ARP keys and has an UninstallString registry value with data in it. It could do with some improvements, eg accept wildcard for -DisplayName parameter, and perhaps also look for QuietUninstallString registry value, too.
If I have the uninstall string could I create an ultra simple one-liner?

Start-Process "C:\Windows\System32\msiexec.exe" -ArgumentList "/x {EECB2736-D013-5AC5-9917-7656712F6931} /quiet /noreboot" -Wait

#7
Quote from: Adam Cook on March 18, 2022, 11:26:18 AM
If you wanted a solution right now, you could use this community script: https://github.com/PatchMyPCTeam/Community-Scripts/blob/main/Uninstall/Pre-Uninstall/Uninstall-Software/Uninstall-Software.ps1

I wrote it so let me know if you have any questions.
One way to do it has been to Add the OneDrive install from PatchMyPC, let it deploy and then uninstall it.

With regards to your script.  Do we just add it as a script in Intune?  I'm wondering if it will work with Java 10.0.2?
#8
I uploaded them!   Thanks for looking at them.
#9
I looked at the PS script and saw it was looking at the uninstall strings.  I was unable to find the OneDrive uninstall strings in either of those trees.  That is excluding the version as well.  So perhaps the baked in version is not in the uninstall portion of the registry OR mine was removed during my experiments and was never readded to the uninstall tree.

[Context:LPT10ADM3173$)]~[Hive:HKLM:\SOFTWARE\WOW6432NODE\microsoft\windows\currentversion\uninstall\*]
03/02/2022 07:41:31~[Microsoft OneDrive*  22.012.0117.0003]~[Found:False]~[Purpose:Detection]~[Context:LPT10ADM3173$)]~[Hive:HKLM:\software\microsoft\windows\currentversion\uninstall\*]
03/02/2022 07:41:47~[Microsoft OneDrive*  22.012.0117.0003]~[Found:False]~[Purpose:Detection]~[Context:LPT10ADM3173$)]~[Hive:HKLM:\SOFTWARE\wow6432node\microsoft\windows\currentversion\uninstall\*]


At least on my machine, it's only found in the user-context (HKCU). 

INSTALL DIR:  C:\Users\MYUSERNAME\AppData\Local\Microsoft\OneDrive\22.033.0213.0002\
INSTALL DATE:  12/1/0001

KEY:  Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OneDriveSetup.exe
VALUE UNINSTALL STRING:  C:\Users\keulerj\AppData\Local\Microsoft\OneDrive\22.033.0213.0002\OneDriveSetup.exe  /uninstall
#10
I'm trying to uninstall Onedrive for all of our machines.  We're using Intune and it's the version of OneDrive that comes with Windows 10.  In Intune, it always comes up with, "not installed".

Thoughts on how to remove this?
#11
I have a set group of staff that use the full client but most machines use the host.  The issue is that the host is trying to install on machines that have the full client and modifying their install.  Is there a way I can have the full client users not receive the host update?
#13
Thank you!

Is it possible to default to local for non licensed installs?  That way I can mess around with this deployment without harassing their CDN.
#14
4 minute support reply time?!?!  Terrible customer service  ;)

You guys are amazing!
#15
perhaps by republishing a few times that their CDN is throttling my IP.  It looks like it is downloading very slow from the server.  Can I either raise the time limit to 30 minutes before timeout or use the local repo?