Monday, May 14, 2012

Error 80070483 sending a fax from Windows 2003.

 Here is the code I used for testing. It would work for txt, pdf and docx but not tif or tiff.
C:\fax>type fax.vbs
Set FaxServer = WScript.CreateObject("FAXCOMEX.FaxServer")
FaxServer.Connect "my-fax-server"
Set FaxDoc = WScript.CreateObject("FAXCOMEX.FaxDocument")
FaxDoc.Body = "faxtest.tif"
FaxDoc.Recipients.Add ("4151234")
JobID = FaxDoc.ConnectedSubmit(FaxServer)
C:\fax>
 The problem is tif file association and here is my fix.

[HKEY_CLASSES_ROOT\TIFImage.Document]
@="shimgvw.dll"
[HKEY_CLASSES_ROOT\.tif]
"Content Type"="image/tiff"
@="TIFImage.Document"

[HKEY_CLASSES_ROOT\.tiff]
"Content Type"="image/tiff"
@="TIFImage.Document"




Thursday, March 15, 2012

DNS testing with dig

dig @8.8.8.8 azaleablooms.com -t ns

Google DNS
8.8.8.8
8.8.4.4

OpenDNS
208.67.222.222
208.67.220.220

I just needed a place to jot this down.

Tuesday, March 13, 2012

How to check for GPS tags embedded in your photos.

http://geotag.sourceforge.net/?q=node/3

Luanch the Java app and add photos. Quick and easy.

Thursday, December 22, 2011

Simple ASP page for unlocking Active Directory accounts

This is quick way to unlock AD accounts on the PC or smartphone. The page will display all currently locked accounts. Type the username and click the unlock button.

You need these two files.
unlock.exe from Joeware.net
LoginAdmin.dll mentioned on this page. -> Code Project

unlock.asp

unlock2.asp


The finished product.

My unlocker

1: jamsignal 12/19/2011-13:39:03 LOCKED VIEW_ONLY

2: Guest 11/09/2011-10:36:49 LOCKED VIEW_ONLY

3: Mickey 12/23/2011-07:44:31 LOCKED VIEW_ONLY

4: Minnie 12/23/2011-08:38:09 LOCKED VIEW_ONLY

5: Donald 12/17/2011-03:27:30 LOCKED VIEW_ONLY

Username:


Wednesday, August 24, 2011

Restart Windows server using the AT command.

at 22:11 shutdown /r /f /t 0


I have used this on 2003 and 2008 for a quick one time restart after hours.

Monday, August 1, 2011

ws.ourpictures.com

Why is this one of the top domains in my firewall log?

I had one PC posting to this URL every three seconds 24 hours a day. I looked at the PC and found ourpictures.exe in "C:\program files\RitzPix E-Z Print & Share." This might not be spyware but it is annoying. I deleted the exe and no more traffic for now.

Friday, May 6, 2011

SQL 2000 database out of space!

The drive is almost full. Shrinking does not help. The transaction log backup fails because there is not enough space. I changed the recovery model to 'Simple' and now I have plenty of space. The log is cleared. I know this is just a work around, but this database is not mission critical so I am good!