OK... Here is the documentation. For increasing the Web application
permissions... if you have IIS 6.0, you can do it directly with IIS . Go
into IIS and add an Application Pool for those web applications you want to
have access to Windows Services on the Server. This is because you don't
want to do this for every app.
You can model it after the default, but then go into Identity and change the
security account to "Local System". This is the highest setting. The
default is like Network System which does not let you access the services you
need.
Then go find you web virtual directory... right click and assign its
application pool to your new pool you created. That along should work.
The documentation I have is for IIS 5.0 and below. Basically you edit a
file in C:\Windows\Microsoft.Net\Framework\V.xxxxxx (pick the biggest number
since it means you have an upgrade.
In that directory, go into CONFIG and edit the file MACHINE.CONFIG. Search
for "processModel Attributes". Around line 324. This is the definition for
the web applications. Notice the comments but look for the definition:
<processModel enable="true" timeout="Infinite" .... userName="machine" ...
You have to change that to userName = "SYSTEM"
IIS 6.0 ignores these settings so you only do it if you have a lower version.
For me, all the printers were automatically defined for the web application.
The directions do tell you how to replicate them in the register if you need
to. Here is the directions:
Define Printer Registration Entries for Web Application
Each time the server is given access to a printer either directly connected
or network that you wish the web application to have access, follow these
steps.
Go into RegEdit under:
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion
Right click on Devices, select Export, select a destination directory and
type in Devices for the name and click SAVE.
Repeat the process for PrinterPorts and Windows giving each the names of
PrinterPorts.reg and Windows.reg respectively.
Using Windows Explorer, navigate to the destination directory where you
exported these entries.
Right click on each file and select OPEN WITH “NotePadâ€.
Change [HKEY_CURRENT_USER to [HKEY_USER\.DEFAULT in each file and save.
Once completed, double click each file one at a time to apply the registry
entries.
Good luck... works like a charm for me. No more printing across the network
for web applications for people in a local area!