Giter VIP home page Giter VIP logo

get-installed-programs's Introduction

List of Installed Programs on Windows PCs

This simple Python script retrieves a list of installed programs from one or more Windows computers on your local network and writes those lists to text files.

I created this program to have a convenient backup of every installed program on all of my Windows PCs for when I need to perform factory resets

Requirements:

How to run:

  1. Open get-programs.py in a text editor & set the name of the PCs:
... existing code ...

computers = ["DESKTOP-1, DESKTOP-2"] # Replace with the name(s) of your target Windows PCs

... existing code ...
  1. Each target computer must have the Remote Registry service running
  • Open Windows Services and start the RemoteRegistry service
    (optional: set the service to start automatically at startup if you're going to be running this program frequently)

    IMPORTANT: Configure your Windows Firewall inbound rules to only accept Remote Service Management from the local IP address of the computer that will be running this code
  1. Open run.bat and enjoy!

Optional: Build executeable

  1. Install pyinstaller:
pip install pyinstaller
  1. Open a terminal window in the same folder as get-programs.py and run this command:
pyinstaller --onefile --noconsole get-programs.py
  1. That's it! You'll find the executable get-programs.exe in the 'dist' directory.

Automatically run this program:

You can automatically run this program at a specific time or interval of your choice.

  1. Open Windows Task Scheduler.
  2. In the Actions pane on the right, click on "Create Basic Task...".
  3. Name the task (e.g., "Get-Installed-Programs").
  4. Choose a trigger interval (e.g., Daily, Weekly, Monthly, etc.)
  5. Choose a specific interval (e.g., time of day, day of the week, etc.) (I run mine once a day at midnight)
  6. Select "Start a program" as the Action
  7. Browse to the location of the run.bat (or the compiled .exe) that's located in the same folder as get-programs.py
  8. Set the Start in (optional): location to the folder that contains run.bat & get-programs.py (e.g., "C:\Users\Henry\Documents\List-Of-Installed-Programs").
  9. In the Settings tab, uncheck the Stop the task if it runs longer than: checkbox.
  10. You're all set! Click Finish.

get-installed-programs's People

Contributors

realprohenis avatar

Watchers

 avatar

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.