Giter VIP home page Giter VIP logo

Comments (6)

stephenutsw avatar stephenutsw commented on June 15, 2024

I am also assuming you use some mix of GPO's like:

Configure Automatic Updates - ENABLED
(4 - Auto Download and schedule the install)
Allow non-administrators to receive update notifications - ENABLED
Allow Automatic Updates immediate installation - DISABLED
No auto-restart with logged on users for scheduled automatic update installations - ENABLED

from teknowtools.

teknowledgist avatar teknowledgist commented on June 15, 2024

is there a method to prevent the pop up when a user has a Powerpoint presentation going?

There isn't anything built in for that, but it is a good idea. I'm not sure how to check for that, but I'll try to find out. Of course, all the presenter need do is click the remind me later button and it goes away.

I am also assuming you use some mix of GPO's

In my environment, it is being used with SCCM. The update deployments are configured to install but not reboot the machine. That is what puts the machine into pending reboot status, but this script recognizes 3 of 4 general pending reboot possibilities (that I know of). (The only one it skips is pending file renames which occur quite more frequently than once a month and aren't usually a security concern.) The reason I wrote this was because users were "forgetting" or delaying the reboot for far too long (6 months in one case I witnessed!). I'm not sure of the registry settings for updates, but any configuration that initiates the updates and allows the user to choose when to reboot to complete the update should work. I don't think this will recognize updates in a pending download status.

from teknowtools.

stephenutsw avatar stephenutsw commented on June 15, 2024

Thanks so much. Looks like i will have to do some modifications to achieve what we need. Without SCCM, we will need to set it to prompt the user to actually install the updates (which is fine; it can download them in the background and then just be prompted to install).

Is it possible for Win 10 systems to get just the Toast notification (with slightly altered text) and not the Reboot popup? That may still be a win for us if we can get it to schedule frequently.

And yes, I am VERY familiar with users deferring updates!! Thanks again.

from teknowtools.

teknowledgist avatar teknowledgist commented on June 15, 2024

Frankly, I think this script is overkill if you just want to pop up Toast notifications. I don't know how well it will work, but you could try commenting out the start-process line around 2143 as a quick-and-dirty "fix". That will prevent the window from ever opening, but should bring up a Toast notice every 4 hours.

I'm not having much luck with identifying ongoing presentations. I believe there is a solution for PowerPoint, but I don't hold out much hope for LibreOffice Impress, Skype or Adobe Reader/Acrobat presentations. If I stumble on a solution, I will update the code.

from teknowtools.

stephenutsw avatar stephenutsw commented on June 15, 2024

It may be overkill, but I do run into the same issues you have with compliance. I just can't be quite so harsh (disabling NIC's is not possible). I'll try the method you suggest.

I believe the munki do not disturb code is essentially looking for "screen mirroring" (not a second screen, but only when mirrored) to queue from. We are Powerpoint throughout, so we wouldn't have the issue w/AdobeReader/Acrobat or Libre Office. Skype...might be an issue, but maybe livable. We will probably have to adjust the notification time to something more like 6 or 8 hours, but we will find out in testing.

Thanks again!

from teknowtools.

teknowledgist avatar teknowledgist commented on June 15, 2024

If that is your concern, you can totally stop the disabling of the NIC. Just use the -level None parameter (or change the default level to "None" on line 183).

The current default level of Low will only disable the NIC if the machine has an previously identified but unacknowledged pending reboot when Patch Tuesday comes around. If the computer is being used, that is unlikely to happen because the warning messages are hard to totally ignore. Thus, either somebody is logged in but not using the machine for a long time, or the user is particularly obstinate and consciously avoiding even acknowledging that a reboot is necessary. A reboot re-enables the NIC. If nobody is logged in, the machine will reboot when it is pending.

Windows Laptops have a "Presentation Mode" (which amounts to mirroring) that I can look for, but that is not available on desktop systems (without some hacking), so I'm looking into a method of identifying PowerPoint with an open presentation (not in edit mode). I haven't given up! (But my time is pretty limited in a new job.)

from teknowtools.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.