Posts Tagged ‘Windows’

Enable & Disable SMB in Windows

// December 21st, 2015 // No Comments » // Computers, Server

Recently, I found myself troubleshooting an issue with SMB connections from an Android application that connects to a Windows 10 file share via SMB. The issue I was chasing was related to the first major upgrade for Windows 10 that Microsoft has been releasing to customers over the last month. Apparently, unpublished changes in that Windows 10 upgrade are causing file sharing problems in a multitude of situations.

During the course of my troubleshooting I thought it would be useful to “fallback” to exclusively using SMBv1 on Windows 10. While Microsoft has been slowly trying to bury the v1 dialect of SMB, it’s still nice to have around for troubleshooting situations when you suspect an unpublished change to a newer dialect (e.g., v2 or v3).

Without further ado, here is a Microsoft Support article that gives you the commands needed to flip the proverbial switches of SMB in Windows.

How-to: Remove the Windows WebDAV 50MB File Size Limit

// November 15th, 2010 // No Comments » // Computers, Server, Windows

Windows limits the file size for WebDAV shares to 50MB per file. Weak. Read on and get strong…

You may have encountered an error message that says, “Error 0x800700DF: The file size exceeds the limit allowed and cannot be saved.” Make this change on your computer, reboot, and you’re good for 4GB per file.

Modify or create the following registry key:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWebClientParameters

  1. Right-click on the FileSizeLimitInBytes and click Modify
  2. Click on Decimal
  3. In the Value data: box, type 4294967295, and then click OK.
  4. Exit the registry editor and reboot your computer

Students: Microsoft will give you the farm for free. Really.

// September 3rd, 2010 // No Comments » // Computers, Server, Windows

This isn’t exactly news, but is still fairly recent, and under-marketed enough to deserve a mention. The folks in Redmond call it DreamSpark, and it’s a pretty sweet deal for high school and college students. They’ll let you use many of their high dollar enterprise products (e.g. Windows Server 2008 R2, SQL 2008, etc.) for free.

Check out Microsoft DreamSpark…

How-to: Enable Windows Installer in Safe Mode

// July 26th, 2010 // No Comments » // Computers, Windows

The Windows Installer Service is the subsystem that Windows provides for adding or removing software. Many software applications rely upon the Windows Installer Service and they cannot be removed cleanly (or easily) if it’s not working. Most of the time it works fine, but there are always exceptions.

There are many situations that can occur where you may find yourself stuck in “Safe Mode” trying to remove a program (e.g., a program crashes your computer while it’s trying to boot). This is complicated by the Windows Installer Service not running while in “Safe Mode”.

Thankfully, there is a kind gentleman named Harry Bates that wrote a freeware tool called SafeMSI. It will enable the Windows Installer Service to run while Windows is running in “Safe Mode”. The usage of this tool is simple:

  1. Download the tool
  2. Extract the contents of the file you downloaded in Step 1 to a memorable place (e.g., your Desktop)
  3. Run the tool while in Safe Mode

Is Windows Home Server any good?

// February 14th, 2010 // No Comments » // Computers, Server, Windows

Simple answerYes.

Why? Windows Home Server (WHS) has a pretty strong value proposition.  Over the past holiday season (December 2009 ), HP MediaSmart Servers were available for $199 (USD).  That’s a complete computer system to store your files, and do some amazing things…

  • Remote computer and file access
  • Automatic backup of computers on your network
  • Third-party add-ons (free) to enable web serving capabilities, BitTorrent client, and more
  • Place to run MagicJack without being bothered
  • …only limited by your imagination

How? If you want more performance than a nettop-style HP MediaSmart server, you can do that too.  My own WHS is made of spare parts leftover from upgrades to other computers, but still far outclasses the HP MediaSmart servers.

If you go the DIY route, target your hardware to the Windows Server 2003 (32-bit) platform. SBS 2003 (Small Business Server) is at the core of WHS.  I gather this is just for the limitations of SBS, as you won’t find Exchange 2003 hiding anywhere.

Where? If you want an HP MediaSmart server, I’d keep an eye on dealnews.com.  For the DIYer, an OEM license of WHS is available for about $100 (USD) from newegg.com.

Moving Windows XP from Intel to AMD will cause a BSOD during startup (STOP 0x07E)…here’s the fix

// April 13th, 2009 // 21 Comments » // Computers, Windows

Moving Windows XP from Intel to AMD will cause a BSOD during startup (STOP 0x07E). Instead of starting over, (i.e. format and reinstall of Windows) spend fifteen minutes following the steps below. You will be rewarded with a working computer.

  1. Take the hard drive out of the old computer (Intel) and install it in the new computer (AMD).
  2. Place the Windows XP Installation CD in the CD Drive and boot the new computer from it.  Some folks have reported success by going to directly to Step 8 from here.
  3. When the initial Windows XP Setup files have been loaded, press Enter to start a Windows XP Installation.
  4. Press F8 if prompted to agree to the Microsoft End User License Agreement (EULA).
  5. The installer will search for (and find) the Windows installation  that already exists on your hard drive.
  6. You be asked if you want to perform a Repair Install. Yes, you do! Press “R” to confirm and begin.
  7. The installation environment is copied to the hard drive, and it automatically reboots to run the rest of the installation.
  8. If you allow the computer to try to boot from the hard drive, it will blue screen. Instead, boot from the XP Setup CD again.
  9. Enter the Recovery Console (press “R” at the first screen)
  10. When you are logged into your Windows installation, and have the command prompt in front of you (C:Windows), navigate to the following directory:
    • C:\Windows\System32\Drivers
  11. Your command prompt should now read: C:\Windows\System32\Drivers and be awaiting you to key in a command.
  12. Run the following two commands:
    • delete intelide.sys
    • delete intelppm.sys
  13. Type exit and press Enter.
  14. Let the computer boot from the hard drive this time and your computer will run through what appears to be a first time Windows XP install. This is actually a repair install. It won’t take long, and your applications/data will not be disturbed.
  15. Install the necessary drivers for any new hardware, install a massive number of Windows Updates, and you should be back in business.

You need this free online backup service

// October 30th, 2008 // No Comments » // Windows

Reposted from November 7, 2007

I’ve been thinking over recent months about backing up some things on my computer that I’d prefer not to lose. Things like the “My Documents” folder, web browser favorites (and bookmarks), the single-file backup of the server that served what you’re reading right now…you know, stuff I should have a backup of.

Until now, I’ve relied entirely on an external USB hard drive that always has a fairly current image of the entire computer. While it provides some level of protection, it doesn’t do anything for the odd “act of god” that can happen now and again. I’ve wanted online backup that’s reliable, but also cost-friendly for home use. I believe I’ve found exactly that…

The name is lame. Mozy. It sounds like it might do a lazy job of just mozying around until it decides to backup my bytes. Good thing I didn’t stop when I first read the name, or I would have missed out on an amazing service.

A relatively small download and quick install and I was ready to begin backing up my files. It went ahead and picked out what it thought was best. Not bad, but it exceeded the 2GB of gratis storage you’re given. I hadn’t even gotten this service out of Park and into Drive yet…so, I cut out “My Pictures” and the backup set dropped to a reasonable 59MB. A minimal interface packed cleanly into a small window is central command for Mozy. I clicked a button and it began “encoding” my files. After a minute or two, it began to upload those files to the Mozy service. A few minutes after that it was done.

Restoring is the most important part of any backup system. Having a backup of data you can’t restore won’t do you any good. It’ll probably just make a bad situation feel really bad. Mozy seems to have a handle on this concept and they have taken some good approaches to getting your data back to you. You have four data delivery choices:

  1. Right-click Restore – Integrates with Windows Explorer. You locate the place you’d like to restore files to, right-click and choose the “Restore Files in Folder” option.
  2. Virtual Drive Restore – Integrates with Windows Explorer. Access your backup files via a virtual drive mounted in your computer. It looks and acts like a hard drive.
  3. Web-based Restore – Very robust interface for navigating your backup set and restoring individual files or entire folders.
  4. DVD Restore – For a fee the folks that run Mozy will burn DVDs and FedEx Priority Overnight them to you.

The only limit to this wonderful service is a very generous 2GB storage limit for free accounts. The 2GB storage limit can be converted to unlimited storage for $4.95/month (USD). This makes it one of the least expensive online backup services I’ve ever seen.

Sign-up for Mozy Home (Free)

Vista Cannot Add A Shared Printer from XP (But Now You Can)

// October 23rd, 2008 // 1 Comment » // Computers, Windows

Seriously.  If you want to print from a Vista computer but your printer is shared by another computer running Windows XP, then you need to hack up your XP registry a bit.  Apparently, no one at Microsoft has yet come to believe this is worth fixing.  The Microsoft recommended fix is just to install Vista everywhere, right?  Well, that’s wrong.  The less obvious (but more productive) fix is for XP.

Learn how to increase your IRPStackSize from the folks @ Microsoft…

For a point of reference on what number to land on…I went with 30 (values between 3-50 are valid on XP). The HP LaserJet 1200 (PCL) I was trying to share then worked like a charm.