Question Locked

Microsoft Data Execution Prevention blocking shared printing

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

A user has a WinXP SP2 box on a Win2k3 Domain. There is a Canon iCD880 connected to the PC, via usb. The printer was configured for sharing and 3 other PC's (All WinXP SP2, all domain members) were successfully printing.

Then the printer stopped printing and wouldn't fax. Unplugged it for 10 min(as per Canon instructions) and then it would fax but not print. I deleted the printers and removed the drivers, via Server Properties window, in CP>Printers and Faxes
Then I uninstalled the Canon software, rebooted. Then downloaded drivers from Canon and reinstalled the printer. At that point, I deleted the printer and driver in CP>Printers and Faxes, on the other 3 PC's. Then I rebooted all PC's and, one at a time, reinstalled the print drivers on the 3 PC's.

At that point, the "print server" PC was able to print, though CP>Printers and faxes, reported it was offline. Right-clicking and selecting Online would not work. Also, the 3 PC's sharing this printer also reported the printer as being offline.

I repeated the procedure of uninstalling and reinstalling the printer on all 4 PC's and now the "print server" PC can print and reports the printer is online and I can access the properties. Same with the other 3 PC's. However, when trying to print form any of the 3 PC's which share this printer, there's a pop up from MS Data execution prevention, which blocks printing.

I checked the DEP settings and it's set to "essential Windows programs and services only". There is no way to completely disable it.

I should also mention that the Active Directory security group "domain users" was granted permission for printing, in the sharing tab, in the printer properties.

I'm not sure where to go from here.

3 replies

by gsi_tech

Thought I'd post back with my solution, incase others encounter the same issue.

I disabled Data Execution Prevention by modifying the boot.ini file...

Replace the text that says /NoExecute=OptIn
so that it says /NoExecute=AlwaysOff

Your boot.ini file should look something like this:

[boot loader]
timeout=30
default=multi(0)desk(0)rdisk(0)partition(1)\Windows
[Operating systems]
multi(0)disk(0)rdisk(0)partition(1)\Windows="Microsoft Windows XP Home" /fastdetect /NoExecute=AlwaysOff

A detailed description of the Data Execution Prevention (DEP) feature in Windows XP Service Pack 2 and Windows XP Tablet PC Edition 2005 can be found here:
http://support.microsoft.com/kb/875352

Thanks to farhankazi, over at EE, for the help.

by jerry~beans&bytes

for coming back and posting your resolution.
for future viewers:
problem also occurs on Win XP Pro/SP2, after installing HPLaser Jet 3050 Series PCL 6 (for a HP LaserJet 3055 All-In-One).
3 workstations affected.

i'm off to implementation and testing-land.

This discussion is closed to new replies.