Windows

Python’s _winreg: Editing the Windows Registry

Python’s standard library is known for including lots of handy modules and packages that can be used without installing anything else. That’s one of the primary reasons that its standard library is called “batteries included” so often. So it should come as no surprise that Python includes a Windows only module for editing the Windows …

Python’s _winreg: Editing the Windows Registry Read More »

Finding Installed Software using Python

Have you ever wondered what software was installed on your PC? Most people who use Windows would probably go to Add/Remove Programs to find out this information, but they’re not programmers. No, programmers have to script it because it’s just in our blood to do so. I actually had another reason to do so: my …

Finding Installed Software using Python Read More »

Creating Windows Shortcuts with Python (Part II)

Back when I first wrote about creating shortcuts with Python last month, I kept thinking to myself that I had a 3rd way of doing it. Today, I had to maintain some of my shortcut code and I stumbled upon it once more. I also noticed that my post had received a comment from Tim …

Creating Windows Shortcuts with Python (Part II) Read More »

Python, Windows and Printers

I do a fair amount of technical support in addition to my software development. In our small shop, we get to troubleshoot anything that is related to technology, from networks to software to printers. I think one of the most annoying aspects is trying to get printers to work the way the user wants. Another …

Python, Windows and Printers Read More »

Using Python to Edit Bad Shortcuts

A couple weeks ago, I wrote about some scripts we use at work for creating shortcuts to various programs in Windows. Well, we also push out updates to some programs which change the paths of the programs and then we need to change the user’s shortcuts to match. Unfortunately, some user’s will change the name …

Using Python to Edit Bad Shortcuts Read More »

Using Python to Reduce the Roaming Profile

Roaming Profiles are a blessing and a curse. If the user uses the internet, their browser’s cached files will grow like mad. If the user downloads programs to their desktop or creates large Powerpoint files anywhere in their profile, then they have to be managed whenever the user logs in or out. There are several …

Using Python to Reduce the Roaming Profile Read More »

Enabling Screen Locking with Python

A few months ago, my employer needed to lock down some of our workstations to be compliant with some new software we were installing from another government organization. We needed to force those machines to lock after so many minutes elapsed and we needed to make it such that the user could not change those …

Enabling Screen Locking with Python Read More »

Lock Down Windows with Python

Almost four years ago, I was tasked with converting a Kixtart script to Python. This particular script was used to lock down Windows XP machines so they could be used as kiosks. Obviously, you don’t need Python to do this. Any programming language that can access the Windows Registry will be able to do this …

Lock Down Windows with Python Read More »

More Windows System Information with Python

Last month I wrote a post about getting Windows system information and I mentioned in one of my comments that there was another script that did some of this as well as other stuff, but I couldn’t find it. Well, today I went digging for it and found the script I wanted. So we’re going …

More Windows System Information with Python Read More »