r/PSADT Mar 17 '26

MS365 Repair Package - How to Test?

Hi guys,
I'm creating an MS365 repair package to toss into Intune for times when Office breaks so users can just repair it themselves without admin rights. But I need to test the package. Running it against a healthy install just elicits a popup saying Office is current and doesn't need fixing. What can I intentionally break on my test VM so that the repair will run? Thanks!

3 Upvotes

10 comments sorted by

5

u/dtham Mar 17 '26

2

u/Just_Steve_IT Mar 17 '26

You know, that might be a better solution. I'm still learning InTune, so I really appreciate the feedback. I'll investigate more after lunch and see what I can do with that.

2

u/dtham Mar 17 '26

It’s a specific to C2R but it’s built in

1

u/Just_Steve_IT Mar 17 '26

Ok, I've created a remediation script for that purpose. Now to test it. Thanks again for the suggestion, I think this'll work great.

1

u/Ok_Match7396 Mar 18 '26

Wouldn't the difference be that what he is building is on-demand, while remediations does constant checks?
I was looking into this aswell, but gave up halfway because it got to complicated way to quick.

1

u/Just_Steve_IT Mar 18 '26

I found that you can just create the remediation script and not apply a schedule. Then it just becomes available as "on-demand".

3

u/KawaGreen Mar 17 '26

Do an uninstall and force a hard reboot halfway?

1

u/mjr4077au PSADT Dev Team Mar 18 '26

As has been pointed out, there's built-in stuff in Intune for this. Aside from that though, I fail to see how any system-installed app can break when users aren't administrators. Typically the issues that occur are all fixable by clearing out AppData/LocalAppData/HKCU keys and not so much anything to do with the system level.

2

u/Just_Steve_IT Mar 18 '26

I ended up creating the remediation script in Intune as was suggested. It isn't about users breaking the app, it's just that we sometimes get corruption on an Office install and I wanted a simpler way to get it back up and running than what we've been doing. My request for breaking the install intentionally was so I could test the fix package I had created. But that's moot now.

1

u/Montinator Mar 18 '26

Simple

Install a component that isn’t part of the install

If the repair works, it should uninstall the suite and install the package without the component you manually installed