Posts

Microsoft Security Essentials - Network and Connectivity Issues

The only time I have used an anti-virus software for myself was in 1987 (yes, more than 20 years ago) when I checked out a version from an Israeli company. I disassembled it, examined the machine instructions, and promptly uninstalled it as I could not relish the idea that every int 21 call must go through a third party. Since then I have not installed AV software on any of my computers. If you have problems updating the MSE anti-virus files due to a proxy server, you may want to skip the long story and jump to the last paragraph below. My daughter started using Windows 95 at age 5 and went through the peak of virus mania circa post-2000. My wife uses the computer daily to check mail and browse the Internet but she belongs to the group of the most elementary and novice type of user you can find. So within my family you can find the full range of computer users. All our computers are running Microsoft Windows and none of them has AV software installed. It's 10 years later and ...

Assembly version, File version, Product version

Image
If you are a .NET developer, Assembly and File version would be familiar to you. They can be set in the Designer UI (project Properties page, Application tab, Assembly I nformation button...) which basically updates appropriate attributes in AssemblyInfo.cs. Now, there is a less well known number - the Product version . It is not well documented and most developers ignore it altogether with no side-effects most of the time. However, it is an important number and it seems that, of the three, Product version is the most widely used. The three version numbers simply take the values you give them or: a. If Assembly version is not explictly specified, it takes the value of 0.0.0.0. b. If File version is not explicitly specified, it takes the value of Assembly version. c. If Product version is not explicitly specified, it takes the value of File version. In Windows Explorer of Windows XP and Server 2003, you can see from the properties of a file all three version numbers. In W...

Hyper-V Server on a Presario Notebook

I thought it would be neat to have Hyper-V Server on a notebook, with Windows 2008 SBS as a guest OS, and then load some more legacy OS'es to test a piece of software I was developing. I have a 1.5-year old Compaq Presario (Core 2 Duo) lying around and I used it. I chose to install the Hyper-V Server clean before installing any guest OS'es. That went fine and trouble free. Not a squeak that the CPU was or was not suitable. T Then searched around and found that Hyper-V Manager was needed. I downloaded the version for Vista 32-bit. It installed fine. But it won't connect. Complained with the famous error: You do not have the required permission to complete this task. Contact the administrator of the authorization policy for the computer XXX Did some tedious preparatory steps as indicated in John Howard's blog . But I just did: 1) create the common user, 2) netsh advfirewall ... 3) DCOMCNFG on the client. Hyper-V Manager now connects fine and I can instal...

Extended Desktop - 3 Big Screens?

Now we all know that Bill Gates uses three screens . I have been using Extended Desktop in Windows for coming up to ten years now. I think it's one of the great things that Microsoft has done by making it easy for display adapter drivers to be developed to work in such a manner. My current set up is the 17" 1440x900 built-in of my notebook and a 1680x1050 standalone running off my notebook VGA port, with the external display positioned directly on top of the built-in display. I populate all the places I frequent with the second monitor (same specs), so that I can just plug in when I reach there, just like the power charger. I am not using three displays because: a. I don't know of any notebook that can drive two external displays, not even with the additional video port on a HP docking unit. Using a video adpater reduces the mobility of my notebook. b. I tried using three monitors but find that I spend much time moving my mouse to where I want to go (even though m...

Sending Mail by Configuration in .NET

Sending mail is an activity required in many applications. The SMTP protocol is clearly defined in RFC 821 in the last century. It is a beautiful piece of work and this can be acknowledged by the fact that it has remained largely unchanged since. Microsoft's .NET has all the classes in the System.Net.Mail namespace to make sending mail a breeze. You can read through the documentation and Google for the many examples and tutorials if you are new to this subject. What I would like to share today is that sending mail in .NET can be made even easier by configuration. The following two lines of code are all that are needed to send out a mail: MailMessage msg = new MailMessage("x@gmail.com","bgates@microsoft.com", "Test","This is a test"); new SmtpClient().Send(msg); There is no need to embed in your code SMTP server names or passwords. That is bad practice because when you deploy your...

Email Forwarding in Microsoft Exchange

There are times when a user does not have a mailbox in the Exchange server itself. The place to configure forwarding is in ADUC and not System Server. First, in the External Contacts folder in your domain tree, create the destination forwarding address. Then, in the user's Properties, go to the Exchange General tab and select Delivery Options. Check the F orward to option and select the destination address from the list of External Contacts.

Creating SSL Certificates for IIS

Here are the steps: Create a certificate request (CSR). There're lots of documentation for this, mail me if you need help. Basically you do it from the IIS management console. (IIS 7 is different from previous versions by trying to make it "easier" but it assumes the user is illiterate - has lots of pictorial icons.) This will generate a Base64 encoded file, and it will also remember that there is a pending request. If you use a commercial provider, then just copy and paste the contents of the file in your application. If you want to use Windows Server 2003's certificate services, go to the server's website: /certsrv. Either of the above will give you a .cer or .crt file. Go back to the IIS management console server certificate option and use the "Process pending request" option. Das ist alles.