Installing an SMTP Server

One of the things that the tech at LukeCorp was required to do was setup an email server on their shiny new Debian box. Luckily, there are lots of choices for Debian – Exim, sendmail, postfix, qmail, and many, many others. The one I use for BASIC email sending, is just the Exim client. This means it will be setup just to send email, not to receive email.

Continue reading

Change the ‘Computer’ icon name

Sometimes, when you’re remote controlling many machines at once, it can get to be a little annoying going to the top of the screen to find the computer name. 25One solution is to use a powertoy that adds information to the desktop, such as BGInfo by Microsoft. Pros? It runs once at login and exits. Cons? The user may still want to change their background picture (which will render this method useless). As well, it doesn’t update automatically (you can get more info than just the computer name displayed).

My solution was to implement a registry hack I found online. It requires me to edit a registry entry that replaces the word ‘Computer‘ with ‘%username% on %computername%‘. This is great, if you’re an administrator and have to do it ONE TIME. But what if you want to push out the update to everyone? Windows won’t let you edit that registry key with a simple .reg file automatically, unless you physically log in to every machine! Yes, there are tools to push it out, but you still need to take ownership.

24So, I posted the question on Super User, but I still had to find my own answer. Essentially, I had to download a utility called SetACL. I had my PDQ Deploy setup to push it out with a Batch script to give permissions to the Administrators group, then import the .reg file. The batch file looked like this:

SetACL.exe -on "HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -ot reg -actn setowner -ownr n:Administrators
SetACL.exe -on "HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -ot reg -actn ace -ace "n:Administrators;p:full"
reg import computername.reg

And then the .REG file contained:

Windows Registry Editor Version 5.00 


Save these two files in the same folder, readable by all users, then you can push out the .BAT script as the admin user to all your users. The effect is that I know automatically what PC I am remoted into, and who I am logged in as, all at a glance. It also changes the actual icon on the desktop, and in the File Browser / Windows Explorer.