Category Archives: windows

Windows 32 (x86) or 64 (AMD64) detection in batch files

While there are a lot of ways to detect for a 64 bit version of windows. you can test for %programFiles(x86)%, but handling the output and writing the IF comparisons is messy. In Batch files, you can easily check for architecture by using the “processor_architecture” variable. x86 versions of windows will have this set to “x86″, [...]
Posted in windows | Tagged , , , , | Leave a comment

Uninstall ALL Versions of WinZip Batch Script

I have been struggling with this for quite a while, and ran into a lot of issues with all of the different versions on our network. There are people with 100 line .vbs scripts to do this, and I think this is much simpler: @echo off REM REM REM    Detects winzip and silently uninstalls REM    There is a un-stoppable pop-up [...]
Posted in windows | Tagged , , , , , , , | Leave a comment

Set Windows Environment variables through registry.

The system variables are in there, so you can change and add to them permanently. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
Posted in windows | Leave a comment

Remotely change power options in XP

First of all, get the pstools and set them up. then run psexec \\[workstation name] powercfg /query Field Description Value ----------------- ----- Name [...]
Posted in windows | Tagged | Leave a comment

Logitech webcam drivers

Logitech drivers are packed in with an awful, bloated program. Just want the drivers and nothing else? I did this with a Quickcam 4000 Pro. The same basic steps may apply to other cams: 1. Download the Program from logitech.com 2. use 7-zip, winRAR, or some other decent compression program to extract the contents of the .exe [...]
Posted in windows | Tagged , , , | Leave a comment