Bohack

Check In and Tune Out!
 
 

Posts Tagged ‘Windows’

Newer Entries »

Exchange 2007 Interop RGC Connector Foo

Thursday, January 15th, 2009

When upgrade from Exchange 2000 or 2003 to Exchange 2007 you must perform a transition. Mainly because you can not upgrade the binaries on the Exchange 2003 box to 2007, 2003 is 32 bit and 2007 is 64 bit. During the transition you will need to have the 2003 Exchange Routing Group connected to the 2007 Exchange Routing Group. This will allow you to delever mail to recipients on both platforms and keep business continuity. You connect the two with a Routing Group Connector and I advise you use the Exchange Manager Console to manage them.

(more…)

Tags: Exchange, Windows
Posted in Exchange | Comments Off on Exchange 2007 Interop RGC Connector Foo

Exchange 2007 Legacy Mailbox Problem

Monday, January 12th, 2009

I am starting to warm up to Exchange 2007 and found that anything and everything can be fixed through the Exchange Management Shell. Recently I transitioned an Exchange 2003 administrative group to Exchange 2007. After migrating the users from the Exchange 2003 to Exchange 2007, I decided to check to see if creating a mailbox is the same. So I opened the (ADUC) Active Directory Users and Computers MMC and ran through the creation of a new user and mailbox. When I went back to the Exchange Management Console the “Recipient Type Details” showed as “Legacy Mailbox”.

(more…)

Tags: Exchange, Windows
Posted in Exchange, Windows | Comments Off on Exchange 2007 Legacy Mailbox Problem

Command Prompt Anywhere

Sunday, December 14th, 2008

Any day you can walk up to my workstation at work and find a command prompt open. Whether it is a Windows CMD prompt or a Linux Shell; I actually prefer it over the Windows GUI and over a KDE or Gnome on Linux. I can generally get more done in a few keystrokes then mouse clicks, especially when you need to start a task and have a log of the outcome.

(more…)

Tags: CMD, Windows
Posted in Windows | 1 Comment »

Redirect HTTP to SSL with IIS

Sunday, December 7th, 2008

It has become culture to prepend the http:// prefix in front of a URL. In fact if you type the URL in most web browsers and hit ctrl-enter, the browser will prepend the http:// in front of the URL. The HTTP (Hypertext Transfer Protocol) works on port 80 TCP and is defined in RFC 2616. Since HTTP language is clear text over port 80 TCP that means that forms authentication will travel over clear text and can be intercepted. So it is recommended that HTTPS (Hypertext Transfer Protocol over Secure Socket Layer) be used to encrypt the session with SSL. HTTPS or SSL works over port 443 TCP and requires a private certificate be installed from a browser trusted Certificate Authority (out of the scope of this article).

(more…)

Tags: IIS, Redirection, Windows
Posted in Windows | 4 Comments »

Windows Version of the Linux / UNIX ‘which’ Command

Monday, November 24th, 2008

During the day I always have a command window open on my desktop. It helps get simple tasks done; like reseting a password for a user or opening an ssh session with a remote box. I have a multitude of Windows command or cmd scripts that help me through out the day. Often I may want to change or tweak a script and then the hunt is on… Which directory was it created in? I know that it is in the path; because I can just execute it without typing it’s full path, but where is it?

(more…)

Tags: Linux / Unix, Script, Windows
Posted in Windows | Comments Off on Windows Version of the Linux / UNIX ‘which’ Command

Simple Server Ping and Reboot Monitor

Sunday, November 16th, 2008

I think we have all rebooted a server and then asked ourselves “Did it actually reboot?”. So we hunt through the logs for the event and then move on or reboot it again. During patch day for the servers this can be a real nag, knowing when something is back online so you can finish patching it; is key to getting the job done. So I wrote this little batch script a while ago to help keep track.

(more…)

Tags: Script, Windows
Posted in Windows | Comments Off on Simple Server Ping and Reboot Monitor

Automated Installation Framework

Friday, November 7th, 2008

Mass software installation is generally done with imaging of machines. The process is simple: a reference image is created and then software is installed onto it. Along the way we test the software, QC check the software installation against our environment, then regression test the software against accounts that will be used by our users. Finally ‘sysprep the image’ and then push out a gigantic image to the all the PC’s in the field and cross our fingers.

Some software just does not want to be imaged, so we find ourselves reverse engineering the software to make it work; licensing is usually to blame. This can sometime take weeks because it breaks other functionality. Many times we simply don’t have the time to image a PC and go through the entire process or it may be something that’s just not worth the time. Bohack’s rule of thumb is: less than 40 PC’s in the same location just sit down and manually install!

However that doesn’t mean we need to give up on automation. So I wrote what I call the ‘Automated Installation Framework’. It’s a simple VBScript with common subroutines and often just saves time behind the keyboard. It uses a VB command called sendkeys and saves us from clicking next, next, next…

To use it I recommend using a ‘Vanilla’ install of your current environment; so use the image in place you will be installing to. Virtualization undo disks help speed this process up, because you will find that you will be installing over and over again for the perfect rollout. Next start practice installing the program, as you write the keystrokes down required moving the install through its steps. Keep track of the time it takes and estimate the time for the slowest computer you have. Next create a domain account that is a local administrator or domain admin for the machines you need to install to. Create a simple profile for the user and drop the finished VBScript into the profile’s startup section (base of the profile\Start Menu\Programs\Startup). Now all you need to do is login as that user and as the profile loads and the startup section runs, your install will begin. Cross your fingers and watch the install!

(more…)

Tags: VBScript, Windows
Posted in Windows | Comments Off on Automated Installation Framework

Free Windows Software

Friday, October 31st, 2008

If you have ever rented a movie you’ve seen the MPAA warning trailers. It usually starts out with a teen stealing a car or purse and then follows to ask the question ‘Would you steal a car? Would you steal a purse? Then why would you steal a movie?’. The MPAA (Motion Picture Association of America) targets the end consumers and that is why you seen such a visible campaign.

The BSA (Business Software Alliance) mainly targets businesses that pirate software, so other than the failed music video of the 80’s “don’t copy that floppy”; there’s really no visible campaigns. However consumers can personally be targeted and if you repair computers and get paid for it, then you are a business. So the point is software piracy can escalate very quickly and you could find a BSA love letter in your mailbox.

(more…)

Tags: Free, Windows
Posted in Windows | 1 Comment »

Newer Entries »
  • Channels

    • Beer (2)
    • Blog (1)
    • Exchange (2)
    • Ham Radio (1)
    • Homebrew (3)
    • Linux / Unix (4)
    • Misc (1)
    • Mods (4)
    • Networking (1)
    • Programming (4)
    • Recipes (2)
    • Scripts (7)
    • Security (1)
    • Software (2)
    • Spam (1)
    • Telco (7)
    • Virtual PC (1)
    • VMware (3)
    • VOIP (3)
    • Windows (16)
    • Windows 2008 (4)
    • Windows 7 (5)
  • Archives

    • September 2012
    • April 2012
    • March 2012
    • February 2012
    • January 2012
    • November 2011
    • September 2011
    • July 2011
    • April 2011
    • February 2011
    • January 2011
    • October 2010
    • August 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • June 2009
    • May 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
  • Links

    • Blogarama Blogarama – The Blog Directory
    • BlogHub Blog Directory
    • Blogrankings Technology Blogs – Blog Rankings
    • Blogville.us blogville.us
    • Buzzerhut free directory | buzzerhut.com
    • Ontoplist Online Marketing
    • Primechoiceautoparts Discount Auto Parts
    • PTC My Employer
 

  Copyright - Bohack 2025 ©