Create a 100Mb file for testing transfer speeds

July 18, 2008 03:58 by SamMcGeown

We have a Bonded ADSL solution for our servers to provide the necessary upstream transfer speeds for the applications we host. We have bonded ADSL because our exchange still doesn't support SDSL, and a leased line is overkill. Theoretically, we should have 28.1 Mbps download and 3.2Mbps upload - what I am actually seeing is about 1.7Mbps down and 1.9Mbps up. I have tested this on various servers, over various times and file sizes, there is no doubt that the performance is POOR.

Anyway, on to my point. I wanted to create a file that was exactly 100MB to test transfer speeds. Windows XP, Vista, 2003 and 2008 all have a command line utility called FSUTIL.exe which has a subset of commands to manipulate files, with which you can create a file that is exactly 100MB...like so:

FSUTIL FILE CREATENEW 100MBTest.mdb 1048576

Usage: FSUTIL FILE CREATENEW [Filename] [Size in bytes]

 Nice!

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Outlook Web Access over SSL using Forms Based Authentication AND Integrated Authentication

July 16, 2008 09:00 by SamMcGeown

Outlook Web access is a fantastic tool for our company, providing on-the-go access to people's mailboxes - which is of course secured by SSL and uses Forms Based Authentication. Internally, we have an intranet portal that allows us to access the various systems - one of which is OWA. One of the stipulations for this internal portal is that it is all Single Sign On using NTLM authentication - integrated authentication. This is where the problem lies because enabling OWA with Forms Based Authentication over SSL disables Integrated Authentication. So our choice is to have users enter their credentials twice (not acceptable) or to disable FBA and have external users log on with the annoying pop-up.

OR...

You can create a copy of the /Exchange and /Public Virtual Directories and configure them to use Integrated Authentication. You can also restrict access to them by IP...here's how:

 I'm assuming you've already set up OWA with SSL on your Exchange server. If you need to do that, try How do I configure OWA to use SSL? at Daniel Petri's site

  1. Log onto your Exchange Server, and open up the IIS control panel. Locate your /Exchange and /Public virtual directories.
  2. Right click /Exchange, select "All Tasks" and then "Save Configuration to a File..."
    Figure 1
  3. Go through the dialogue, save to a file and if you're worried about security, add a password.
  4. Once you're done, right click any white space in the root web site (or the exchange web site) and select "New", then select "Virtual Directory (from file)..."
    Figure 2
  5. You will be presented with the "Import Configuratio" dialogue, click "Browse..." and select the file you've just created. Click "Read File" and select the Exchange location underneath
    Figure 3
  6. Click "OK" and you'll be asked to provide a new name, or replace the existing Virtual Directory - select create a new one and put an appropriate name (I uses ExchangeIA)
    Figure 4
  7. Now, this step is optional, but read on anyway because you might want to think about it. I only want to allow people on my network to access this using Integrated Authentication, no one else, so I am going to restrict access to the Virtual Directory that I've just created to my IP subnet. To do this right click the newly created Virtual Directory (ExchangeIA) and select the "Directory Security" tab. Under "IP address and domain name restrictions" click "Edit". Now select "Denied access" to deny anyone other than the exceptions, then click "Add.." and enter the details of your network to allow those computers access.
    Figure 5
  8. Now head back to step 1 and repeat for the /Public folder, if Integrated Authentication is required for Public Folders.
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Update your Windows Search or Windows Desktop Search

July 14, 2008 07:47 by SamMcGeown

I noticed a post over at David Overton's blog today that highlights a new release of Windows Search. Normally not that exciting, but it is if you're using Outlook to open up another users mailbox.

I have quite a few mailboxes that are opened for historical reasons, people leave a company and I need access to their email. I don't want to bloat my mailbox with all their email, it's hard enough to find my own emails!

Previously, I've not been able to index the other people's mailboxes, this is a distinct bonus!

David's post is here: http://uksbsguy.com/blogs/doverton/archive/2008/06/08/upgrade-windows-search-to-version-4-0-and-improve-your-pc-for-windows-vista-xp-server-2003-and-2008.aspx

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Windows Vista shows black screen and the cursor before log in.

May 2, 2008 14:36 by SamMcGeown

Had an interesting one yesterday, my bosses Vista laptop booted as per normal, making all the right pictures until just before the log in prompt popped up, then a black screen in what looked to be VGA graphics with the white default arrow cursor.

Corrupted graphics drivers, I thought. A quick boot into safe mode...but no, the same black screen and over-sized pointer.

No problem, Last Known Good Configuration will save my day...except that LKGC points are set when the OS manages a successful boot, and Vista had, in it's own opinion, successfully booted. The same problem occurred.

Googling around I found hundreds of posts describing similar problems, fewer, but still quite a lot had the same problem. There were no solutions for the symptoms that I was facing; that always begins to worry me because it's very unlikely that I can fix something that no-one else can!

After several more hours Googling and trying various different recovery options, I came accross a very succinct and to the point technet article - KB946532. Apparently Vista's fairly unknown Transactional NTFS has a bug which, if you're unlucky enough to see, will "occur because of file system corruption within the $Txf directory. This corruption causes a deadlock condition between the Transactional NTFS (TxF) process and the Autocheck process." In short, you're screwed.

System Restore points don't fix this problem. There's no way of preventing this error, which will render your Vista install inoperable. Helpfully, MS suggest you reinstall Vista in parallel to your current install. They also mention that it's fixed in SP1, which is the most compelling reason to install SP1 that I've heard.

Right now I feel a little like I'm playing Russian roulette with my fleet of Vista laptops, but do I really want to force an early adoption of SP1?

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Installing on Vista: Error 1327 invalid drive when using mapped drives

March 20, 2008 12:58 by SamMcGeown

Originally posted Monday, November 26th, 2007

Incredibly irritating error when you go to install under your user account when you’re using mapped drives for your documents. All our domain users have a userfolder on the server, it’s mapped as z:\ and there is a folder redirection set up. It’s pretty standard in a corporate/domain environment, so why does it cause so many Vista installations to fail?

This is something I’ve run into time and time again and There are a couple of things you can try…sometimes they work individually, sometimes not!

  1. Reset your “My Pictures” location to the default (yes, that is stupid; no, I don’t know why Unrelated Program X wants to install something into “My Pictures”).
  2. Edit your registry (BACK IT UP FIRST) to remove references to your mapped drive.
    1. Run Regedit.
    2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    3. Change any references that use the drive letter to use the %USERPROFILE% variable.
    4. Restart.
  3. If you’re using UAC (User Account Control) you might need to map the network drive as the administrator. This is a pain in the @$$ because you have to disconnect the drive under your user account first. Of course, if you’ve got ANY documents open, this will upset your profile. Anyway, steps for that:
    1. Disconnect the currently mapped drive.
    2. Open the command prompt as the administrator. Type “net use > \\\>” and check that it’s mapped by typing “net use”.
    3. Open explorer and navigate to your shared folder “\\>\>” and right click, use the “Map Network Drive” wizard to map the share under your user profile.
  4. If all above fails (as in my case), your only option is to log in as a user that doesn’t map drives (machine local admin works for me, but then you have to enable that user as it’s disabled by default. You also have to provide a password for it - don’t forget to disable again after an install.)

I could rant about how rubbish this is, but to be honest I am to hacked off at wasting my afternoon trying to work around this.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: Windows Vista
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Installing on Vista: Error 1327 invalid drive when using mapped drives

March 20, 2008 12:58 by SamMcGeown

Originally posted Monday, November 26th, 2007

Incredibly irritating error when you go to install under your user account when you’re using mapped drives for your documents. All our domain users have a userfolder on the server, it’s mapped as z:\ and there is a folder redirection set up. It’s pretty standard in a corporate/domain environment, so why does it cause so many Vista installations to fail?

This is something I’ve run into time and time again and There are a couple of things you can try…sometimes they work individually, sometimes not!

  1. Reset your “My Pictures” location to the default (yes, that is stupid; no, I don’t know why Unrelated Program X wants to install something into “My Pictures”).
  2. Edit your registry (BACK IT UP FIRST) to remove references to your mapped drive.
    1. Run Regedit.
    2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    3. Change any references that use the drive letter to use the %USERPROFILE% variable.
    4. Restart.
  3. If you’re using UAC (User Account Control) you might need to map the network drive as the administrator. This is a pain in the @$$ because you have to disconnect the drive under your user account first. Of course, if you’ve got ANY documents open, this will upset your profile. Anyway, steps for that:
    1. Disconnect the currently mapped drive.
    2. Open the command prompt as the administrator. Type "net use \\[server]\share and check that it’s mapped by typing “net use”.
    3. Open explorer and navigate to your shared folder and right click, use the “Map Network Drive” wizard to map the share under your user profile.
    4. If all above fails (as in my case), your only option is to log in as a user that doesn’t map drives (machine local admin works for me, but then you have to enable that user as it’s disabled by default. You also have to provide a password for it - don’t forget to disable again after an install.)
  4. I could rant about how rubbish this is, but to be honest I am to hacked off at wasting my afternoon trying to work around this.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5