Windows Server Summit 2024
Mar 26 2024 08:00 AM - Mar 28 2024 04:30 PM (PDT)
Microsoft Tech Community

Block software in the range time

Copper Contributor

Hi everybody!

I'm Davide and my Boss ask me if will be possible block a software, in my case Outlook, in a particulare time range (ex. from 10 to 12).

 

Is possible to do something with a group policy? Because all restriction in my LAN must to be make with Group Policy...

 

Thanks a lot.

Davide

3 Replies

Perhaps a scheduled task that toggles the corresponding policy/reg keys?

@Vasil Michev 

Sorry... I don't follow you...

Can you explain me please?


@Vasil Michev wrote:

Perhaps a scheduled task that toggles the corresponding policy/reg keys?


 

Since the corresponding GPO settings are basically reg keys. you can toggle those via a simple PowerShell script. And to ensure that the settings are toggled on a specific time schedule, you can use a scheduled task that fires the script to toggle the settings, as needed.