Programming Reality

Life in C#
posts - 81, comments - 14, trackbacks - 348

My Links

News

Article Categories

Archives

Post Categories

Image Galleries

Blogs

CRM

Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Upon installing Service Pack 2 on Wednesday night, 2 programs decided to give me trouble. HP PrecisionScan Pro 3.01 and WinFax (more specifically the NetSatisFAXtion connector) basically died on me. WinFax I figured is possibly hopeless for 2 reasons:

  1. WinFax is 10.0. It's technically not “XP compatible“ and to make it so would requiring purchasing it all over again. I loathe the product to begin with, so I'm not about to purchase 10 more copies so that it can go from 10.0 to 10.03 (ooh such a big version change).
  2. NetSatisFAXtion's subscription ran out in January 2002. It would require purchasing a year of support for about the same cost as upgrading 10 WinFax clients.

There may be some way I can make it work again by basically obliterating all of the security enhancements SP2 introduced, but I'm not about to compromise security for one application. Both applications will be obsolete very shortly anyways and all I can say is good riddance to both.

I had a point to this post and it was that HP PrecisionScan Pro's shared scanning stuff over the network breaks when you install SP2. It's due to the security enhancements placed around RPC and DCOM but since I only have to modify 1 machine to make this work (rather than a possible 10 for WinFax), I think I can handle the security risk.

On Wednesday I was doing some web searching for the problem and the best hit I could come up with calls it HP LanScan which I suppose is what they call the network scanning portion though this only runs on the host machine. The solution was laid out in the newsgroup post I found here. The author, Patrick Philippot outlined a potential fix but claimed that he didn't test each individual area to find the magical combination. Rather than expose the one computer to more security problems, I thought it would benefit our company if I were to test each thing individually to find the combination that actually works. These settings must be performed on the host computer only but aren't required on the clients.

Windows Firewall:

  1. Click Start | Control Panel | Windows Firewall in Classic View or Security Center | Windows Firewall in Category View.
  2. Click the Exceptions tab | Add Program | Browse. Using the default directories for PrecisionScan Pro 3.0 it can be found here: C:\Program Files\Hewlett-Packard\PrecisionScan Pro 3.0\hpscnsvr.exe and will be added as Share Scanner.
  3. Click Change Scope and select My network (subnet) only or Custom list to narrow down who can access the scanner.
  4. Exit Windows Firewall by clicking OK.

Note: These settings are required if the Windows Firewall is turned on.

Component Services:

  1. Click Start | Control Panel | Administrative Tools | Component Services in Classic View or Performance and Maintenance | Administrative Tools | Component Services in Category View. You can also get there by Start | Run | dcomcnfg.
  2. Expand Component Services and you will probably get a firewall pop up about Microsoft Management Console. Click Ask Me Later. (I don't think it should pop up because you can do anything you want without requiring the firewall to allow it)
  3. Click on Computers then right click on My Computer and select Properties.
  4. Click on the COM Security tab.
  5. Under Access Permissions click Edit Limits.
  6. Add Authenticated Users. You don't have to do anything else because the default is set to Local Access which is all that you need. You can add specific users from the domain or a group if you'd like.
  7. Click OK to apply changes.
  8. Close the Microsoft Management Console.

Regedit:

  1. Click Start | Run | regedit to start the registry editor
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT.
  3. Right click on Windows NT and choose New | Key. Name it Rpc. You could skip this step if you have this key but none of our computers did.
  4. Right click on Rpc and choose New | DWORD value. Name it RestrictRemoteClients and hit enter. Leave the default value of 0.
  5. Close regedit.
  6. Reboot

Note: Editing the registry must be done with extreme caution. I'm not responsible if anything happens, yadda yadda which is why this would be an unsupported patch. Microsoft or HP should be the ones issuing the patch, I just simply stated the steps needed to make it work for now.

The reboot is essential only for the Rpc registry key. I played with the DCOM settings by tweaking a little, restarting the MS DTC, playing with the software, then repeating the process until I found the right combination. The Rpc registry key is a necessity as well as the Access Permissions.

The group policy steps Patrick defines are not needed. They duplicate the Access Permissions and Launch and Activation Permissions and when defined actually prevent you from clicking the Edit Limits buttons. If you enable them in group policy you can disable them by deleting every entry and leaving the section blank. Reopening group policy shows that it's “Not configured” but it still leaves rogue entries in the registry you have to clean up unless you want the Event Log whining. The settings are found in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DCOM. These were the only settings in the key so I removed the key entirely (our computers don't have it, it gets created by group policy). I forget what they're called, but if you have other settings there look for the 2 string values that are blank and most likely those are the ones you can delete.

Heavy duty Rant Disclaimer: The following is highly critical of the problem and the parties involved. This isn't really meant for public consumption as it's mainly me venting steam. If you read the below contents, you have been warned and express that you probably really don't care all too much. Hopefully an official fix will be made and I can shut up.

<BeginRant>
According to Patrick, HP claims this problem is a firewall problem. In an earlier post, he claimed that they said it was Microsoft's problem because SP2 is what broke it. SP2 introduced security enhancements. HP's software is making my computer less secure. Microsoft has given enough warning and documentation about the changes so there's  no excuse why HP wouldn't conform to SP2 unless they're just too lazy to update the software. While we're on the subject, why use DCOM in the first place? Are you crazy? I would think passing a scanned image would be better handled by another technology that is actually slighly more up to date. I guess they want to make sure it runs on Windows 95 and ME. The funny thing is, everything scanned is an image. Even if you scan to Word, all it does is insert the image into a Word document. There is no OCR with this software, so why on earth would you use DCOM when using another network transport layer makes much more sense. They probably banged it together in VB5 in an hour and called it a day.

Honestly though, HP cares basically nothing about it's software, probably because it's always bundled free with something. I'm sure the developers get paid, but they probably take a morale hit when they have to make changes to a product they consider dead from the beginning. HP makes great scanners and printers, but I wouldn't trust them with anything else, period.

I guess I'm ragging harshly on HP right now but if I have to be the one to figure out your problem, you've already lost my business. I've done this way too many times and it's just plain annoying now. I can find better things to do with my time than to play the “point-the-finger-and-do-nothing” game. I left that crap back in 3rd grade where it belongs.

I made this post so that hopefully when people search for what I did they can find an actual fix with the precise steps to fix it. I triple checked my tweaks and made sure this is the exact minimal steps to fix the problem. Hopefully others who find this “feature” “broken” can fix it as quicker than I did.
<EndRant>

Update:

  • Updated instructions to provide a break down of each section involved. I also included the program I previously marked by ____ which I forgot to add before publishing the post.
  • Added “Heavy duty Rant Disclaimer“ and the BeginRant and EndRant tags. I was a little annoyed when I wrote this and it doesn't really need to be read if you are actually going to perform the steps. The only groups that should really care about it are HP, and myself. I don't retract things I say probably in the hopes that I can go back and realize how human I really am, not the pseudo-robotic entity I perceive myself to be sometimes.

Print | posted on Monday, October 04, 2004 12:11 AM | Filed Under [ Information Technology Software ]

Feedback

Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Hey Jeremy! Thanks for this post, I contacted HP tech support for the same reason and they told me they were "working on it" but that I could try Microsoft SP2 support at 1-888-SP2-HELP. Microsoft escalated me to a Level 2 tech and he offered the link to Patrick Philippot's article (but with a waiver, not supported by Microsoft) but I could not follow it on my wife's XP Home Edition machine (Group Policy is not available on Home).

Your instructions were simpler and worked GREAT!

I forwarded your link back to Microsoft and HP in hopes that they can fix this with a patch for others.

Thanks again, I can scan again!
Chris
cjandpj2@hotmail.com
10/9/2004 3:59 PM | Chris Jambor
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

I'm glad it worked for Home users. I don't deal with Home, so I didn't write expecting it to work for them. It's good to know this fix will work for both versions though, and can be a guide for those who are wanting to get this working. Hopefully HP can offer up a patch soon.

I updated the post because I didn't think that other people would use this as a guide. I must have had a brain fart when I published it so I went back and cleaned things up. I'm glad it works, but I could have said things a little more nicely. Oh well.

Thanks for the feedback
Jeremy
10/12/2004 2:30 PM | Jeremy Brayton
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thanks Jeremy my network scanning works again.
10/16/2004 10:55 AM | Steve
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thanks for the info Jeremy. Funny thing...I sent HP an e-mail asking for help with this problem and the sent me to YOUR site. How lazy is that?
11/3/2004 3:49 PM | Chris
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Funny thing is I feel honored. I seriously bashed HP in my original post and they actually link to my site for a fix. I'm glad I cleaned things up though so that people can get to the meat of the fix without hearing my personal rant about how the process is annoying.

They COULD have stripped out only the good information and put it in some kind of "official" fix, but they didn't do so. I don't know what that says, but again I do feel humble that it is happening this way.

I'm just glad that I could help out. I could have just fixed our companies issue and not said anything about it, but I wanted to be thorough and make sure that everyone who has this problem has a very minimal impact on security. Undoing SP2 to fix one small problem just didn't seem right.

Hopefully there will be an official patch sometime soon that fixes the problem without creating a glaring security risk. I won't hold my breath since the software is basically free (you pay for the scanner, not the software) which means that continuing support isn't a high priority on their list. It's not good business for it to be anyway, so I can understand HP's position. I just sometimes wish it was a little different since it is something that we use pretty heavily when it's required.
11/3/2004 4:07 PM | Jeremy Brayton
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

I would also like to add my thanks to Jeremy. HP referred me also to this site after several wild and down right stupid suggestions. However, I'm not here to bash HP but doing my unfortunate endeavor, I came across another alternative solution that cost $35 for home use and provided simple installation and setup for those who are not able to tweek the registry.
http://www.remote-scan.com
11/13/2004 9:31 AM | Marcus Rochelle
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thanks Jeremy,

Works a treat!

Regards,


Lee.
11/28/2004 6:31 PM | Lee
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

The fix worked flawlessly, thanks for your efforts. HP should acknowledge and provide a fix for this, surely many users of these products have or will be impacted. Again, many thanks,

Dan G
12/9/2004 11:47 AM | Dan G
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

HP referred me to your site as well after I contacted them. Thanks for sharing this information for the rest of us!
12/17/2004 8:53 PM | kevin
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Absolutely fantastic! I tried EVERYTHING I could think of before I discovered this solution, MASSIVE thanks!

newbe5
1/13/2005 3:38 AM | newbe5
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

One comment - I didn't have a Windows NT key, only Windows, and adding it to this key does not work - so, you have to add a Windows NT key under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\ and then continue with the regedit procedure as explained. Works like a charm. Thank you!
1/19/2005 4:44 PM | LH
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Sorry about that. It's not present on every system and those registry keys only get created when something is in them.

I should have gave a disclaimer like "If you don't have these registry keys, you'll need to create them in EXACTLY THE PATH MENTIONED".

If I have time later I'll keep this comment in my email to remind me to change that. Thanks for the heads up though, I want to make sure everyone doing this gets the problem resolved, even if I forget steps that were already present on our systems but not present on others (like XP Home).

Thanks again
1/19/2005 7:17 PM | Jeremy
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thank you, thank you, thank you! I had given up on ever using my HP PrecisionScan Pro 1.0 remote scanning capability again after "upgrading" to SP2. HP "support" was unhelpful. They didn't even want to admit it was their problem. I followed your directions, and now it works again. Easy when you know where to look. Thanks for doing all the real work.
2/28/2005 11:34 PM | Mark H.
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

u da fu@king man!

Many many thanks!
p
3/3/2005 6:01 PM | Paulo Amore
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

This is obvious an "That's not my problem"-attitude. MS and HP make some great things, but they mess-up a lot also. Thanks to people like Jeremy, there are still solutions. The way MS works is totally symptomatic. Instead of filling the holes they just make detours.

Many thanks to Jeremy and also some to Patrick and absolutely no thanks to HP and MS.

D
3/9/2005 4:33 AM | Dutchie-D
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

SUPER EXCELLENTe MAN!

Works like a Charm on XP...

Had to ADD The String/Key Manually...

should write a *.reg file

GREAT JOB! @ Thanks A Million!
3/9/2005 9:53 PM | Edwin Tan
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thanks a lot!!!!
4/1/2005 11:24 PM | Greatfull reader
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Since the starts of XP SP2 Installation in our office last year2004.

We experienced same problem connecting the HP LANSCAN in our Network its a total disaster.

And when I read this Column posted in the internet "It HELP me a lot" expecially the company I'm working.

Thanx's, it's work's great!!! (",)
5/13/2005 4:02 AM | † Circuit™ †
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

This has been on my back burner for weeks. Thanks for a quick and dirty fix.
7/14/2005 12:58 PM | Ron
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thank you Jeremy. You saved me countless headaches and costs. Too bad HP doesn't recognize the importance of satisfying their customers. I am about to upgrade our facilities with several new scanners, and based on HP's customer service, they won't be HP's. No wonder HP is laying off so many staff.
7/21/2005 5:10 AM | Dr. Jack H
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thanks a lot!! It works!
7/22/2005 1:20 AM | Dima
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thank you, Jeremy (and Patrick), great job!
HP owes you at least a scanner of your choice!!!
Jörg
8/25/2005 9:11 AM | Jörg Radeck
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thanks a lot for great help
i am serching for this soluation from past 1 week and today my serch is over. GREAT HELP.
9/2/2005 12:00 AM | Rajesh S.Surve
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Outstanding, Jeremy.

I was fiddling around with HP Precision Scan LAN Host - windump's and everything. I knew it was some kind of firewall/security issue. I even called HP support (for $30) and they suggested I send my scanner in for repair!!! I told the nimrod that there was absolutely nothing wrong with the scanner, rather their software wasn't playing in XP SP2 properly. The support driod told me that I would receive a call back from a supervisor (still waiting). Anyway, thank you again for spelling out the correction so clearly.
9/15/2005 2:49 PM | Marc Niegowski
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Excellent! It works perfectly with PrecisionScan 1.02 and a ScanJet 6250 scanner.

The only other issues I had with this version of the software were:

1. I had to double-click all the .reg files in the installation folder to add them to the registry.

2. There is no shortcut for Remote Scan Setup on the clients - you need to double-click HPRSC.EXE in the installation folder. You need to type in the name of the server PC.

3. The "Automatically start" option for the remote host does not work. I just copied the shortcut to StartUp instead.
11/10/2005 4:24 AM | Paul
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

You rock Jeremy!!

I've been looking all over for a fix to this problem and of course all of HP's suggestions weren't even close. You saved me a lot of time and a big headache. HP should be paying you for providing this fix, especially considering how many people have had this problem after SP2 installation.

Thanks again!!
12/9/2005 11:03 AM | Shawn
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thank you, worked like a charm.
thanks again.
2/20/2006 10:41 AM | Rodrigo
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thank God there's someone out there who knows his onions!!!!

HP have been back and forth with numerous "fixes" but no joy!!! Yours worked straight away!!!

Woohoo!!!!!
4/19/2006 6:46 AM | Phil & Adrian
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

scanner driver
4/21/2006 5:52 AM | Mr S. E. Imhof
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Still people out there who get happy because of this post. I'm part of them now and I'm happy to be it. Thanks for your Help.
7/29/2006 12:58 PM | AlterAngelus
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

You are DaMan!!! Someone said they had an issue with the scanning and i googled and followed the link to your post and it worked flawlessly. Having worked support for over 17+ years the sharing of knowledge is one of the things that keeps us going. Your ar truly an asset to our KB circle. And I bow to you tenacity and willingness to help ~ KUDOS
9/12/2007 8:50 AM | Lee Scott
Gravatar

# re: Windows XP Service Pack 2 breaks HP PrecisionScan Pro's network scanning ability

Thanks Jeremy !
Works fine!
Thanks LH for XP Home solution!
11/8/2007 9:47 AM | Andy
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: