Stop Unwanted Auto Startup(s)

It’s time to bring back an archaic (at least for me) utility. The utility of topic is your “System Configuration Utility.” I recently needed to use it to prevent an annoying “HP Update” program from starting up. You can find it via your run command line.

Start > Run

run_start

Type “msconfig”, Press ‘Enter’ OR Click ‘OK’

run_type

Choose The “Startup” Tab

run_msconfig

If it isn’t self explanatory, in that tab is the list of programs that are set to automatically start after Windows starts up. Simply uncheck the programs that you don’t want to start then press ‘OK’.

*You’ll get a dialog box/message asking if you want to restart or not, that choice is yours.
*You’ll also get a message after your machine starts up again stating that something has been changed.

Give it a try, but don’t over do it. My advice is to only uncheck obvious annoyances.

Free Business Cards

Need business cards for that new small business, but you don’t want to go over board and get thousands of cards? Been there, done that.  Personally, for as long as I could remember ever needing business cards I have  gotten them free from VistaPrint…

Free Business Cards Plus 14 Day Free Shipping $50+

I have been using them for years now and still do. Yesterday, I referred them to a friend’s dad in need of business cards and thought I’d share the same information with everyone…

All we have to pay for is the shipping, which has gone up a bit but altogether it is a great deal.

Oh, they don’t just offer free business cards. They also offer free magnets, calendars, etc… so look for their “free products” tab.

Right Click to Copy or Move Files

I needed an easy way to copy or move files from one directory to its parent directory, but couldn’t find a feasible way of doing it. However, along the way I found a very useful XP / Vista tweak. This tweak allows us to  copy or move files to other directories using a directory browser… via right click.

Here’s the article I ran into that explains how to do it…

http://www.howtogeek.com/howto/windows/add-copy-to-move-to-to-the-windows-explorer-right-click-menu/

It involves editing your registry. New to editing your registry? No problems, there’s an “edit registry via double click” version…

http://www.howtogeek.com/howto/windows-vista/add-copy-to-move-to-on-windows-vista-right-click-menu/

Many thanks to The Geek.

The Law of Attraction by Michael Losier

law-of-attraction-michael-losier

I found this book to be informative, easy to comprehend, and practical. It is short and to the point. The ideologies presented are profoundly interesting. Along with the Law of Attraction, Mr. Losier briefly mentions NLP (Neuro Linguistic Programming). And how they can be used to change and shape our lives.

Although very interesting, I discovered that I have fortunately been using the Law of Attraction since I could remember ever wanting anything. Let me elaborate, it seems the “Law of Attraction” is a more scientific way of explaining these ways of thinking:

  • Keep your mind on the goal and don’t let anything make you doubt yourself.
  • Have a positive attitude at everything you want, stay confident.
  • The cup is half full, fill it up… it’s not half empty.
  • Surround yourself: with things you value, positives, people that are in tune with your wants.

As previously mentioned, I have always had a positive outlook on everything, therefore the Law of Attraction was not something that was extremely radical or new to me.  It was just a different way of viewing things.

However, I did come to the realization that when I changed the exercises around a little, they were helpful in shaping the ways in which my children think and view life… you know how kids are always questioning if they are doing things correctly… diffidence.

Anyways, for those of you out there that need a little reminder or motivation on how you should think when you have a goal in mind then this is book is a “must read.” But on a general basis, this book is a “should read.” It brings up very interesting topics… some of which are denounced by the scientific community.

I give it 4/5 stars.

nLite = Windows Deployment

nlite

Well it has been a couple of years since I did any real System Administration work but if I were to have the duty of deploying multiple machines again… nLite would be the first piece of software I would turn to.

It has saved me hours, virtually everything can be pre-configured before the OS is installed allowing an “unattended” install like no other.

I did run into two errors that I would like to mention.

1) If you pre-configured the display options, ie your theme… it will not be the labeled “yourTheme” as desired, but it’ll be “nLiteTheme”. And it could possible be all messed up as mine came out. And the problem wasn’t easy solved as setting the display to another theme. You actually have to go into the system folder and delete that “nLiteTheme” to fix the problem.

2) If you are installing the OS onto a machine that requires a 3rd party SCSI adapter (F6 Method), you might run into problems. For me, I kept getting an error saying that I was missing the required SCSI driver, but in fact the driver was installed.

Needless to say, other than those two errors. This piece of software has same me much time. So if you’re looking for a stress-free install, give it a consideration. And there’s a Vista version… vLite.Oh, one more thing… they are both free!

A Short History of Nearly Everything

A Short History of Nearly Everything by Bill Bryson.

a-short-history-of-nearly-everything

I read this book to compare Bill Bryson’s view of “everything” against Steven Hawkins’ “A Brief History of Time.”

But there was no way to compare the two books. To my dismay this book was 20% about the universe’s exciting mysteries and 80% about the drama that we went through to uncover some of the universe’s mysteries.

So if you are looking for a book about science, DO NOT READ THIS BOOK, it will be a waste of your time. Its all histrionic stories of our past struggles as a race.

Review Thoughts: I give this book a 2/5 stars. Do not read it.

*With that said if the book were titled differently… maybe: Historical Drama, tales of our ancestors; I would give it a 5/5.

-Thuan

Dotnetnuke Error: BC30451

For all interested parties if you run into this error after compiling a custom module…

Dotnetnuke BC30451: Name ‘Initialize’ is not declared.

It is most likely you didn’t change your reference paths in Visual Studio.

Brian Dukes ran into this problem, discussed here. His solution was to copy a fresh copy of the core Dotnetnuke.dll into your root /bin folders but if you don’t change the reference paths in Visual Studio, each time you compile your custom module the Dotnetnuke.dll will be replaced with the an older one if it exists.

Don’t forget to change the reference paths for both your main module project and the corresponding sqldataprovider project because it will also have the same reference paths.

HTH, Thuan.

Dotnetnuke Infinite Redirect Loop

It had be a long time since I had worked with Dotnetnuke but it was time for me to upgrade a few of my Dotnetnuke sites.  And as always DNN’s installation/upgrading is again culpable for all my recent stress.

The site upgrade in question was going from DNN 3.3.7 to DNN 4.9.0 and the error I kept on getting was an infinite loop redirecting me back to this URL: http://mysite/default.aspx?alias=http://mysite/myalias with a blank screen.

Internet Explorer didn’t know what to do with it so it infinitely reloaded the URL.  Firefox was a little smarter, it detected the loop therefore stopped it and gave out this error message: “Firefox has detected that the server is redirecting the request for this address in a way that will never complete.”

So the search was on, using these keywords… dotnetnuke, infinite, redirect, and loop. I found a couple promising articles with potential solutions to my problem…

http://www.bestwebsites.co.nz/dotnetnuke/solving-the-dotnetnuke-redirect-loop/

http://weblogs.asp.net/christoc/archive/2008/06/19/dotnetnuke-homepage-won-t-load-keeps-redirecting.aspx

But after  much trial and error with my trust settings and going straight to the database and changing my portal’s aliases per those solutions, I was still at a dead end.

It wasn’t until I carefully read this John Mitchell forum thread did I find my solution. The problem was the new Default.aspx page. After the upgrade the page code went from…

<%@ Page Language=”vb” AutoEventWireup=”false” Explicit=”True” Inherits=”DotNetNuke.Framework.DefaultPage” CodeFile=”Default.aspx.vb” %>
<%@ Register TagPrefix=”dnn” Namespace=”DotNetNuke.Common.Controls” Assembly=”DotNetNuke” %>
<asp:literal id=”skinDocType” runat=”server”></asp:literal>
<html <%=xmlns%> <%=LanguageCode%>>
<head id=”Head” runat=”server”>
<meta id=”MetaRefresh” runat=”Server” http-equiv=”Refresh” name=”Refresh” />
<meta id=”MetaDescription” runat=”Server” name=”DESCRIPTION” />
<meta id=”MetaKeywords” runat=”Server” name=”KEYWORDS” />
<meta id=”MetaCopyright” runat=”Server” name=”COPYRIGHT” />
<meta id=”MetaGenerator” runat=”Server” name=”GENERATOR” />
<meta id=”MetaAuthor” runat=”Server” name=”AUTHOR” />
<meta name=”RESOURCE-TYPE” content=”DOCUMENT” />
<meta name=”DISTRIBUTION” content=”GLOBAL” />
<meta name=”ROBOTS” content=”INDEX, FOLLOW” />
<meta name=”REVISIT-AFTER” content=”1 DAYS” />
<meta name=”RATING” content=”GENERAL” />
<meta http-equiv=”PAGE-ENTER” content=”RevealTrans(Duration=0,Transition=1)” />
<style type=”text/css” id=”StylePlaceholder” runat=”server”></style>
<asp:placeholder id=”CSS” runat=”server” />
</head>
<body id=”Body” runat=”server” >
<noscript></noscript>
<dnn:Form id=”Form” runat=”server” ENCTYPE=”multipart/form-data” style=”height: 100%;” autocomplete=”off”>
<asp:Label ID=”SkinError” runat=”server” CssClass=”NormalRed” Visible=”False”></asp:Label>
<asp:PlaceHolder ID=”SkinPlaceHolder” runat=”server” />
<input id=”ScrollTop” runat=”server” name=”ScrollTop” type=”hidden” />
<input id=”__dnnVariable” runat=”server” name=”__dnnVariable” type=”hidden” />
</dnn:Form>
</body>
</html>

to…

<%@ Page language=”VB” %>
<%@ Import Namespace=”DotNetNuke” %>

<script runat=”server”>

Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)

Dim DomainName As String
Dim ServerPath As String
Dim URL() As String
Dim intURL As Integer

‘ parse the Request URL into a Domain Name token
URL = Split(Request.Url.ToString(), “/”)
For intURL = 2 To URL.GetUpperBound(0)
Select Case URL(intURL).ToLower
Case “admin”, “desktopmodules”, “mobilemodules”, “premiummodules”
Exit For
Case Else
‘ check if filename
If InStr(1, URL(intURL), “.aspx”) = 0 Then
DomainName = DomainName & IIf(DomainName <> “”, “/”, “”) & URL(intURL)
Else
Exit For
End If
End Select
Next intURL

‘ format the Request.ApplicationPath
ServerPath = Request.ApplicationPath
If Mid(ServerPath, Len(ServerPath), 1) <> “/” Then
ServerPath = ServerPath & “/”
End If

DomainName = ServerPath & “Default.aspx?alias=” & DomainName

Response.Redirect(DomainName,True)

End Sub

</script>

This made me look at all my files a second time. What I found was that the old Default.aspx was backed up as old_Default.aspx and a new one was created. So my solution was simply to replace the original Default.aspx page with the new one generated from the upgrade.

And although, my solution got the site working again and under ASP.NET v2 (the reason for my upgrade), it also leaves me to question what I did, if I messed anything fundamental up, and why the Dotnetnuke Team changed the Default.aspx page.

If anyone could enlighten me on this, please leave a comment.

Set Up Your Computer To Receive and Send Faxes

I was at the store the other day and noticed that people still buy fax machines. Instantly, I thought to myself, “Wow, are you kidding me?” At our technological state, we should all have the necessary components to configure our computers to receive and send faxes.

Here’s what you’ll need to receive and send faxes (bare minimum)*…

  1. A computer with Windows XP or Vista on it
  2. It has to have a modem
  3. A phone line

*To send paper documents, you’ll need a method of getting the desired fax documents to your computer, ie a scanner. If the documents are already on your computer than you won’t need that scanner.

Here’s how to setup your computer to receive and send faxes (straight from Microsoft)…

XP –> http://www.microsoft.com/windowsxp/using/setup/hwandprograms/printfaxscan.mspx#3

Vista –> http://windowshelp.microsoft.com/Windows/en-us/help/488ac4fb-7436-4a03-bb70-6ded839dd3c21033.mspx

After everything is up and running, you’ll need to test your setup; luckily, there’s a free service that you can use…

http://www.interpage.net/sub-wwwfax.html

Good Luck.

XP AntiSpyware 2009 Removal

Not too long ago a close buddy of mine, got his computer infected with a virus. Only because a message popped up saying his computer was infected and that he should run a scan. Little did he know that the alert was a fake. It was actually the virus asking for permission to install itself on his computer. Needless to say… even if you aren’t tech savvy you need to know what is and isn’t installed on your computer. In the end I got the virus off for him and his system was saved but it took some work to get rid of it.

Okay, enough rambling. It’s called XP AntiSpyware 2009. It is disguised as a real anti-spyware program…

What it does is sends out fake alerts urging you to fix your computer. Be alert. If it gets access to your system, porn links and the such will abound your desktop.

There is software on the net to remove it, but the only one I was able to find to actually work and for free is this one… Malwarebytes’ Anti-Malware. So, if you run into the mentioned virus, give it a try.

-Thuan