Use PHP to check used and free space on remote computers

November 19th, 2009 2 comments
PHP Drive Space Report

PHP Drive Space Report

Using Google Charts API, PHP, and wmic together allows you to create awesome reports of used and free hard drive space. This is a Windows only script. Check out the code below!

Categories: Google Charts, How To, PHP Tags:

What is Thumbs.db? And how do I get rid of the Thumbs.db file?!

September 14th, 2009 1 comment

Ahhhhh! This stupid thumbs.db file is showing up everywhere and I can’t get rid of it! What is it and why is it in almost every folder?


Thumbs.db is a “Windows Thumbnail Cache” file. This file stores thumbnails of all thumbnail-able items in that one folder for quicker viewing access. These include files with the following extensions: JPEG, BMP, GIF, PNG, TIFF, AVI, PDF, PPT and HTML.

Will I lose my pictures or the ability to view thumbnails if I delete this file?
No you won’t lose any data or functionality if you delete the thumbs.db file… but it will keep coming back unless you do the following:

  1. Double click the “My Computer” icon on your Desktop or Start Menu to bring up an Explorer window.
  2. On the top menu, click “Options” and then “Folder Options”
    Explorer Window
  3. Click the “View” tab and check the “Do not cache thumbnails” options.
    Do not cache thumbnails

That’s it!

Categories: How To, Windows XP Tags:

PHP PC Live Screenshot Script

August 26th, 2009 No comments

Have you ever wanted to take live screenshots of a group of PCs to see what is going on? I’ve created a PHP script that teams up with a few remote control applications that does it for you!

Features include:

  • Instant screenshots of remote PCs
  • Refresh any PC’s image with 1 click
  • Shows currently logged on username
  • Searches Active Directory for user’s information and displays full name and other custom fields
  • Fully configurable and customizable
PHP SS Overview

PHP SS Overview

PHP SS Zoom View

PHP SS Zoom View

Here is a list of what you need to download:

After downloading all of the software, follow these steps:

  1. Install WampServer to the default folders and options
  2. Left click the new WampServer icon in your tray and select “Put Online”
    PHP SS 3
  3. Again, left click the new WampServer icon in your tray, choose PHP -> PHP Settings -> Uncheck “Display Errors”
    PHP SS 6
  4. Go to start, click Run…, type in “services.msc” and hit enter. Scroll all of the way down until you find “wampapache”. Double click on it to bring up the properties window.
    PHP SS 4
  5. Change the startup type to “Automatic”, then click the Log On tab. Select “This account” and enter in the credentials of a user with proper remote execution rights on the domain.
    PHP SS 5
  6. Hit OK to close the properties window, right click on the “wampapache” service and choose restart. Close the Services window
  7. Extract into the C:\Windows\System32 folder. Overwrite any existing files. Run PsExec.exe and click agree on the EULA.
  8. Install IrfanView, after installing, copy the i_view32.exe executable and paste it into the system32 folder.
  9. Open up an explorer window and browse to “C:\wamp\www” and delete the index.php file.
  10. Extract the contents of the “” file into the “C:\wamp\www” folder
  11. Use your favorite text editor and open up “index.php”. Lines 10-30 are made to be easily configurable to fit your network’s structure. Make sure you change the computer naming scheme to work with yours.
  12. Start up a web browser and point to http://localhost and try it out! Comment and let me know how it goes 🙂
Categories: How To, PHP Tags:

Free Windows XP Themes: Royale, Royale Noir, Zune

February 25th, 2009 3 comments

I was asked which Windows XP theme I was using in my past posts. After looking at the “Luna” theme ever since XP came out, it got boring. Here are three different themes that you can use without any hacks or 3rd pary applications because they are strait from Microsoft!

Windows XP Royale Blue and Royale Noir Theme Download

Extract the zip and place the contents of the file into “C:\Windows\Resources\Themes\”…

File Location

Double click “luna.msstyles” and the following properties box will come up:

Royale Blue XP Theme

The default theme and color scheme will be Royle. If you would like the darker theme, choose Royale Noir under color scheme:

Royale Noir Theme

If you are looking for the Zune theme which adds a hint of orange, download it here:

Windows XP Microsoft Zune Theme Download

This download contains an installable MSI file. Just extract the zip and double click the file to install the theme. It will look like this:

Zune Style

Categories: How To, Windows XP Tags:

Remove the Open File Security Warning in XP, Vista, and Windows 7

February 20th, 2009 35 comments

Every single time you download a program and try to run it, that stupid pop-up comes up and adds a whole extra click. The pop-up looks like this:

"Open File - Security Warning" - "The publisher could not be verified. Are you sure you want to run this software?" YES I'M SURE DAMNIT!

"Open File - Security Warning" - "The publisher could not be verified. Are you sure you want to run this software?" YES I'M SURE DAMNIT!

You can remove this in any Microsoft OS that is XP or later with the same steps. How do I remove this you ask? Like so:

1. Click Start, Run (or Windows+R) and type gpedit.msc


2. Navigate to User Configuration -> Administrative Templates -> Windows Components -> Attachment Manager
then double click “Inclusion list for low file types” on the right pane

Group Policy


3. Select Enabled and enter in the file extensions you want to allow, including the preceding period and separated with a semicolon


Inclusion list for low file types

Hit OK, exit out of your Group Policy window, and run your newly downloaded spyware infested program, free of the annoying “security” pop-up!

VMware VIClient “Please specify a valid image file” Error Fix

February 20th, 2009 7 comments

Using VMware Infrastructure Client to manage your VMs? Try mounting a valid CD image and get the following error?

Please specify a valid image... IT IS VALID DAMNIT!

Please specify a valid image file... IT IS VALID DAMNIT!

Here’s what my file looked like:


If you rename your ISO file’s extention to all lowercase, VIClient will now accept it, even with the long filename.


There is a bug with the VIClient where it requires the file extention “iso” which is case sensitive.

Categories: ESX, VIClient, VMware Tags:

First Post!

February 20th, 2009 No comments

So I finally started to post something. Might not be much yet but I have a list of posts I would like to knock out here in the next couple months. Here’s a teaser:

  • X10 Controlled Christmas Lights
  • pfSense VMs
  • Open File Security Warning in XP
  • Many PHP and Ajax Scripts
  • VMware Randomness

Oh, and I’ll take requests too!

Categories: Randomness Tags: