Every month I have to submit page counts to our printer supplier. Usually it involves connecting to each printers administration webpage counting up the different totals (black/white, colour) and then sending that back to them. Here is a VBScript function that calls...
Microsoft Tech Tips
Make a y/n prompt for cscript.exe using VBS
msg = "Do you wish to add " & First & " " & Last & "?" wscript.echo msg Wscript.StdOut.Write "Add Employee to DB? (y/n) " choice = Wscript.StdIn.ReadLine ' read the input if choice = "y" or choice = "Y" then ' do what you have to do .... end...
Who’s down with FTP not the new IE!
How often do you get someone say "I have a file that is 10MB+, can I send it to you via email?" and it's over the size that you or your email provider can accept. You don't want to try and teach them how to zip a file into smaller chunks or burn to CD and send via...
Windows 2003 SBS Server – Multiple Faxes Pending and Not Sent
Just had a situation where I had to send 29 faxes from a Windows XP Pro SP2 box to a Windows 2003 SBS server. So I did the following: Scanned the item I need to fax to 300dpi tiff format. Import the names / address / fax details from an Excel spreadsheet into Outlook...
KixTart – Finding out if a user is admin
There is supposed to a macro @PRIV that will return if the user running the kixtart script is an admin or not. However if you have given yourself local Administration priveleges by adding a domain group you are a member of to the local Administrators Group then @PRIV...
Cygwin Telnet Client
For some weird reason when attempting to run the Windows version of telnet under Cygwin it returns to a prompt without connecting. So you need to install the Cygwin Package that contains a telnet client which is: inetutils Run the cygwin setup.exe and choose...
wxWidgets using wxPerl and wxGlade
When it comes to getting user input and performing an action in a Windows environment there are several convenient options: You can purchase a Microsoft development environment for several thousand dollars such as Visual Studio (or whatever is the latest name for it)....
Symantec Endpoint Protection Manager Port 1812 Error
When installing SEPM it complains of port 1812 being in use and the word Enforcer. If you check c:\windows\system32\drivers\etc\services you will find port 1812 is the Radius port. The Microsoft term for a Radius Server is Internet Authentication Service (IAS)....
Enable Windows Remote Desktop Remotely
If you have ever installed a server, then gone offsite and tried to connect using "Remote Desktop Connection" (mstsc.exe) and found it not responding because you forgot to allow for Remote Connections... you may have had an arrrgggh moment. Here's how to enable it...
Event ID 7022 – The Kerberos Key Distribution Center service hung on starting.
I have been tinkering with a SBS 2003 box that has been restored from backup. One of the annoying things I have come up against was that it wouldn't reboot quickly enough and a "service or hardware" failed to start popup would be there when it finally arrived back at...
Virtual Desktops or Workspaces on Windows XP
If you use Windows XP at work, but Linux at home, you may be missing the multiple desktops feature that Linux provides . http://virtuawin.sourceforge.net/ is the answer. I don't use the "group similar taskbar buttons" Windows XP feature but find multiple workspaces a...
Reading a Paradox DB Under Windows using XAMPP
If you want to do this get an old version of XAMPP Update: New versions of XAMPP for Windows don't have the PHP paradox module. The latest I could find that contained the necessary php/ext/php_paradox.dll file was XAMPP for Windows 1.7.0 Windows (XP) provides a...
Windows SBS 2003 Restore to Different Hardware
I have a Windows 2003 SBS SP1 box on a Dell PE750. As a disaster recovery trial I decided to try and recover it to a Dell PE1950 which obviously has different hardware. The PE750 has "Intel Pro/1000 CT" nics and the PE1950 has "Broadcom NetXtreme II GigE" Nics not to...
Ever wanted to right click on a file or folder and then copy the path? – Heres how
At work I get phone calls from users asking where file or folder X is. Instead of starting into explaining the path to the user and then explaining which key is the backslash key, I have found it easier to copy the path into an email and send it to them. I have a...
nLite to the rescue – Or how I installed a 3rd party Via Raid Driver without a floppy
Just have had the worst day trying to get an OS onto an old P4 which has an Asus P4P800 mboard and an embedded via raid controller. After a disk corruption caused by running chkdsk /f C:. Update: Looks like the disk corruption wasn't caused by my disk check because...
Grant Access to MSDE DB using Windows Group
Trying to get an MSDE going with the SQL gui. These are my personal notes. osql -U sa -S SERVER\INSTANCE Password: ****** 1. Give the group the ability to login to the MSDE Instance use master go EXEC sp_addlogin 'DOMAIN\domainGroup' go 2. Grant Access to DB (still...
Copy a Table – MSDE
Using osql log into the database osql -S SERVERNAME\INSTANCENAME -U dbusername Password: ********* 1>use dbname 2>go 1>SELECT * INTO new_target_table FROM old_source_table 2>go
Using Knoppix and the dd utility to restore a WinXP partition Image to a Hard Disk
These are my notes on how I successfully restored a Windows XP image I took of a partition. I can't remember how exactly I took the partition image of the Windows XP installation. I can remember the following points I was dual booting at the time and I needed the XP...