All posts by bsdman

Currently working as an IT Manager. Worked for an OIT company as a Network Engineer in 2011. Worked for a Medical IT company as the Network Administrator 2009-2011. Worked as the Senior Systems Administrator at a computer reseller from 2005-2009. Worked as a Computer Consultant for several small companies from 2007-2009. Worked as a Computer Technician at a computer reseller from 2002-2004.

WordPress and Stats Pages

I have this issue from time to time – wordpress updates will break my stats pages. A simple edit in the .htaccess file clears this up.


RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$ [NC]
RewriteRule . - [L]

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Images Not Showing In Outlook 2007

We’ve had a couple people that, for whatever reason, have computers that don’t like to play along with the rest of the gang. The primary complaint is that images do not load in the email (mostly screen shots). They will, however, show up when the user attempts to Forward said email.

In 2007, click on New Email to open Word
Click that Giant ugly Microsoft Button on the top left of the window (called the “Office Button”)
Select Editor Options
Click on Advanced
Under Display Email Content, find the Show Picture Placeholders
Uncheck Show Picture Placeholders
Click OK
You may have to restart word/outlook for this setting to stick

Create or Delete a Service in Windows

Not growing up on Windows, I had no idea how to do this. So here it is for all those other people that don’t know how:

1.) Start, Run, regedit
2.) Navigate to HKLM\SYSTEM\CurrentControlSet\Services
3.) Find your service and you can remove it (Delete the whole key folder)

-OR-

if you don’t like messing with the registry (who really does?), then there’s a built-in command to remove and add services:
1.) Start, Run, cmd
2.) sc delete [service name], or sc create [service name]

Either way, you must reboot the system for the changes to take effect.

Vista Printer Support

When Vista was first released, I was one of the first people to say I’d never upgrade to something slower, bulkier, and overall completely different from what I was currently using (XP Pro). But since I work in the industry, I should probably know the answers to questions people have regarding Vista.

So Vista here I go! I installed Vista Enterprise SP1 64bit on my work machine (2.0GHz E2180, 5.5GB DDR2 800). Everything has been working actually much better than I thought – there are a decent amount of Vista drivers (although 64bit support is a little smaller). One issue I came across was the addition of printers.

I’m assuming you can find the Vista drivers on your own. If you have any problems, let me know and I’ll see what I can do.

After that, we will want to add the drivers onto the print server. We do this by using a Vista machine with administrative privileges (domain admin account works wonders).

Start by running the MMC (Microsoft Management Console)

Then Click on File, Add Remove Snap In

Now select Print Management, and Click Add

A window will pop open. This is where we select the print server we use (you can always browse to the server name if you can’t remember). Then click add to list to add the printer below.

Now click Finish. That will close the print configuration window and you’ll be back on the MMC. You can click OK now. You should see Console Root, Print Management. Click once on the Print Management word to expand the listing.

Expand Print Servers, then your PrintServerName, and right click on Drivers. Select Add Driver…

Follow along in the Wizard to add a print driver. If you’re importing a 64bit driver (like I have to do), then make sure to select x64 instead of x86.

Click Have Disk… and then browse to your files (the installer should have extracted the required ini files for your system to a folder of your choosing – in our case it’s C:\lexmark\drivers…)

If prompted, select your correct printer from the list.

You can then verify the install went smoothly (when there are no errors), by clicking on the Drivers folder and searching for the driver you installed. In my case it’s anything with a x64 as the environment type.

Paying for Convenience

I’m a big fan of open source software. It’s free, it generally has the features I need/want, and it usually doesn’t have the “bloat” associated with commercial software. Not to say that commercial software doesn’t have a place in our daily lives – I am forced to use Microsoft Office, Adobe products, and Microsoft Windows at work – because most people are familiar with commercial software. And from a business standpoint, if an open source application crashes your systems and causes you to lose money, who’s responsible? Whereas there’s always going to be a support person at a commercial place (albeit they might not have the easiest accent to understand, they’re generally helpful for varying needs).

That being said, I find it hard to believe that companies will take great ideas, or several different free software solutions, and tie them up neatly into one package. And then have the audacity to charge several hundred dollars.

PSEXEC tools suite, which was recently bought out by Microsoft itself, is a collection of tools that help in the administration of computers on a network. They’re offered up for free. The ones I use the most are psexec, pslist, and pskill. Psexec will remotely run a program with any privileges you require – that way my “power users” can have the rights to install only the things I send to them. Pslist will list all running processes on a remote computer – this is especially helpful when a user complains that their system is running slow or crashing (it’s usually a website loaded in IE that brings the computer to a halt). Pskill will terminate any running application – which is great when I hear someone playing loud bass across the office – I can remotely shut that music down (grin).

So why would I pay nearly 300 dollars for a suite that promises the following:
Update Group Policy (psexec.exe \\Computername gpupdate.exe)
Start computers by Wake On Lan
Remote restart (shutdown -r -f -m \\Computername -t 30 -c “comment”)
Remote shutdown (shutdown -s -f -m \\Computername -t 30 -c “comment”)
Real time graphical reporting (not sure what they mean, but spiceworks can probably handle this)
Ping (start, run, cmd, ping ip)
Send Message (net send Computername message)
Read Remote Registry (regedit, connect to network registry, Computername)
Run executable (psexec -i -s -d \\computername “C:\program files\internet explorer\iexplore.exe” http://www.google.com)
Run executable remotely (see above)
Start Event Viewer (start, run, eventvwr)
Start Explorer (this should already be running)
Start Remote Desktop (start, run, mstsc, Computername)
Start Remote Assistance (we use VNC for this)
Immediate WSUS client update (psexec.exe \\Computername wuauclt.exe /detctnow)

Apt-get Not Upgrading The Kernel

If you run apt-get update and apt-get upgrade, it should upgrade most of the packages associated with your system.

However, there are certain files that will not be upgraded using these general commands.

We must run apt-get dist-upgrade instead.

***EDIT***

And this is how to upgrade from a lower version to a higher version:
apt-get install update-manager-core
do-release-upgrade

Hard Drive or Memory Reading Less Than Paid For

I have heard this one so many times that I just had to write about it: people complain that they bought a 320GB HD and it’s only reading 298GB. Or they just bought a 750GB HD and it’s only reading 693GB. Or… the list goes on and on.
I’ve also heard people purchasing RAM upgrades and then complaining the system is not recognizing the installed RAM.

Hard drives are measured in the 1000bytes = 1KB, 1000KB = 1MB, 1000MB = 1GB, 1000GB = 1TB etc by the manufacturer. The computer, however, will read 1024bytes = 1KB, 1024KB = 1MB, 1024MB = 1GB etc. You can see there’s a difference. The larger the drive, the larger the difference. A “40GB” drive should show up as roughly 37GB for a loss of 3GB. A “1.5TB” drive should show up as 1.38TB, for a loss of 114GB. Generally we just tell people this is due to formatting. It’s easier to explain that way.

RAM is measured in the computer-used 1024 base scale. There could be a number of reasons why the RAM is not showing up correctly. I’ll list some reasons, starting with the most common:

You have Shared Video Memory – A small amount of your physical RAM is actually used to run the video of the computer (anywhere from 1MB to 256MB)
You’re running a 32bit Operating System – 32bit OSes can generally only read up to 3.25-3.5GB of RAM. There are a few exceptions, but this is a general rule of thumb – so even if you install 16GB, the system will only read the first 3.25-3.5GB.
Your board can not read the chip you installed – This usually happens on older computers. If your board only supports 256MB chips and you install 512MB chips, the board will either not read the installed RAM or only read the first 256MB. A BIOS update can alleviate this issue.

For the most part that’s all there is to it.

Oh another part:
RAM is a volatile storage device that allows instructions to be stored randomly for use by the CPU. When you turn off your computer, you will lose whatever was in the RAM. RAM can transfer data at sustained multi-GB/sec speeds.
Hard Drives (HD) is a physical media storage device that allows users to store data permanently. When you turn off your computer, you will not lose the data on your HD (hopefully anyway). HD’s can transfer data at sustained maximum of 90MB/sec. Bursts are generally limited to less than 120MB/sec. That is as fast as the physical drive can go – most users will experience system performance within the 20-40MB/sec range.
RAM is faster than the HD.