Jul302008

Live Messenger Hidden Add-ons Fix

Published by mikedopp at 9:48 AM under Web Fun | Interesting | Hacks

So here is step-by-step tutorial to enable it:
images
1.
Open regedit and goto:

“HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger”

2. In right-side pane, create a new DWORD value and give it name "AddInFeatureEnabled" and set its value to 1
3. That’s it. Now open Windows Live Messenger and goto "Tools -> Options" and you'll see a new tab "Add-ins" at last.

4. Remember to restart Windows Live Messenger for the buttons to be enabled.

 

Digg This


[KickIt] [Dzone] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags:

E-mail | Permalink | Trackback | Post RSSRSS comment feed 0 Responses

Jun182008

How to Check Certificate expirations on IIS with custom script.

Published by mikedopp at 1:59 PM under Web Development | Interesting | Hacks

Recently I ran into a SSL cert issue. I run a small e-commerce site and was doing some testing on it. Got to the buy now feature (when the site switches from non- SSL to SSL or http to https) I received a your SSL cert has expired. What? No I remember I purchased it forever ago but it shouldn’t be up now why did I have no warning?

Well with the help and guidance of the crew @ AwesomeIdeas I found a way to look up my SSL Certificate life.

 

copy & paste script below into a file called "CertExpirationCheck.vbs" and run the script from command line

When in the command prompt use the following parameter:

C:\> cscript certexpirationcheck.vbs [SubjectName]

C:\> cscript certexpirationcheck.vbs mikedopp.com

CertExpirationCheckScript

'**************************************************
'* CertExpirationCheck.vbs
'* Enumerate certificates with day left for expiry 
'**************************************************

Option Explicit
Dim SubjectName
If WScript.Arguments.Count > 0 Then
    SubjectName = LCase(WScript.Arguments(0))
Else
    CommandUsage
End If

Dim Store, Certificates, Certificate
Const CAPICOM_LOCAL_MACHINE_STORE = 1
Const CAPICOM_CERTIFICATE_FIND_SUBJECT_NAME = 1        
Const CAPICOM_STORE_OPEN_READ_ONLY = 0

Set Store = CreateObject("CAPICOM.Store")
Store.Open CAPICOM_LOCAL_MACHINE_STORE, "MY" ,CAPICOM_STORE_OPEN_READ_ONLY
Set Certificates = Store.Certificates.Find(CAPICOM_CERTIFICATE_FIND_SUBJECT_NAME, SubjectName, 0)

If Certificates.Count >0 Then
   For Each Certificate in Certificates
    'Certificate.display()    'If you want to see the Cert in UI
    WScript.Echo "*** Subject " & Certificate.SubjectName & " ***"
    WScript.Echo "Issued by " & Certificate.IssuerName 
    WScript.Echo "Valid from " & Certificate.ValidFromDate & " to " & Certificate.ValidToDate 
    WScript.Echo "Days to expiry " & DateDiff("d",now(),Certificate.ValidToDate)
    WScript.Echo 
   Next
 Else
  WScript.Echo "No certificates with SubjectName => '" & SubjectName & "'"
End If

Set Certificates = Nothing
Set Store = Nothing

Sub CommandUsage
  MsgBox "Usage: CertExpirationCheck.vbs  [SubjectName] ", vbInformation,"CertExpirationCheck"
  WScript.Quit(1)
End Sub
 
 



[KickIt] [Dzone] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags:

E-mail | Permalink | Trackback | Post RSSRSS comment feed 0 Responses

May012008

Increase Hard Drive Speeds in Windows

Published by mikedopp at 2:51 AM under Hacks | Windows 9x-Vista

Warning this could cause unwanted issues with your hardware as well as your Operating System. Do this only if you feel comfortable doing so. Do not blame me if your Hard Drives life is decreased in any way.


Make sure you have 512megabytes of ram before doing this.


-Start > Run > then type SYSEDIT.EXE
-Expand the system.ini file window.
-Scroll down almost to the end of the file till you find a line called [386enh]
-Press Enter to make one blank line, and in that line type
Irq14=4096


NOTE: The above info for the new line is CASE SENSITIVE
- Select File > Save
- Close SYSEDIT and reboot your computer

 

Simple and works with Windows Xp - Vista.

 



[KickIt] [Dzone] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags: ,

E-mail | Permalink | Trackback | Post RSSRSS comment feed 0 Responses

Apr302008

Display Machine Details on Windows Server Login

Published by mikedopp at 9:35 PM under Hacks | Windows 9x-Vista

If your like me you develop in multiple servers. Using Terminal Services is a easy way to move through these servers remotely and with ease. Often I have 6 or more Remote Sessions open at one time. This as you can well imagine can get very confusing. I got to the point I felt I needed better way to brand my Desktop sessions. I tried wallpaper which by the way works well also. However this trick works as a supplement to the wallpaper trick.This registry edit will add text to the login string on the login after you hit "ctrl alt delete" giving you a chance to identify the machine in case you get confused.

"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"welcome"="Good Times Enter your own welcome message here"

 

"

Make sure the "welcome" is a String when adding it to the registry.



[KickIt] [Dzone] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags: , ,

E-mail | Permalink | Trackback | Post RSSRSS comment feed 0 Responses

Apr192008

Mess with your Friends with a fun Pop-Up Trick.

Published by mikedopp at 12:30 AM under Hacks | Interesting | Web Fun

Open Notepad and type:

text1=msgbox("your text here",52,"your title here")

Make A Scary Pop-up
You can write as many text message boxes as you want. The many you write the many pop-ups will appear.

2.
Save the text as popup.vbs. Be sure the change the 'Save as Type' to 'All Files' .
Make A Scary Pop-up
3.
You can use scary messages to make a prank to your friends, like:

text1=msgbox("Virus Detected",52,"Warning: VIRUS")
text2=msgbox("Virus is installing on your system",52,"Installing...")
text3=msgbox("Virus is installing on your system",52,"Installing...")

4. When you click on popup.vbs you will receive on your screen something like this:
Make A Scary Pop-up
Make A Scary Pop-up



[KickIt] [Dzone] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags: , ,

E-mail | Permalink | Trackback | Post RSSRSS comment feed 0 Responses