Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Print:Print and Document Services: Difference between revisions

From sysadminafterdark docs
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==General==
Print and Document Services are handled by [[Servers:SAD-PRINT01]].
==Firewall Rules==
==Firewall Rules==
In order to enable remote management through RSAT, the following exceptions must be allowed through Windows Firewall:
In order to enable remote management through RSAT, the following exceptions must be allowed through Windows Firewall:
<pre>
<pre>
Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True
Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True
</pre>
<pre>
Set-NetFirewallRule -Name FPS-ICMP4-ERQ-In -Enabled True
Set-NetFirewallRule -Name FPS-ICMP4-ERQ-In -Enabled True
</pre>
<pre>
Set-NetFirewallRule -Name FPS-ICMP6-ERQ-In -Enabled True
Set-NetFirewallRule -Name FPS-ICMP6-ERQ-In -Enabled True
</pre>
</pre>
Line 10: Line 17:


===Manually===
===Manually===
Run the following commands at an administrator command prompt to allow non-admin users to install print drivers:
Run the following command at an administrator command prompt on the client PC to allow non-admin users to install print drivers:
<pre>
<pre>
reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v RestrictDriverInstallationToAdministrators /t REG_DWORD /d 0 /f
reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v RestrictDriverInstallationToAdministrators /t REG_DWORD /d 0 /f
Line 21: Line 28:
===Group Policy===
===Group Policy===
In addition to the group policy that pushes a printer, I have created a second group policy called C_Configure_PointandPrint. To configure this policy, perform the following actions:
In addition to the group policy that pushes a printer, I have created a second group policy called C_Configure_PointandPrint. To configure this policy, perform the following actions:
1. Create a group policy with the name C_Configure_PointandPrint and link it to your workstation OU.
# Create a group policy with the name C_Configure_PointandPrint and link it to your workstation OU.
2. Edit it and navigate to Computer Configuration > Preferences > Windows Settings > Registry
# Edit it and navigate to Computer Configuration > Preferences > Windows Settings > Registry
3. Create a new registry setting with the following settings:
# Create a new registry setting with the following settings:
<pre>
<pre>
Action: Update
Action: Update

Latest revision as of 03:13, 28 March 2024

General

Print and Document Services are handled by Servers:SAD-PRINT01.

Firewall Rules

In order to enable remote management through RSAT, the following exceptions must be allowed through Windows Firewall:

Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True
Set-NetFirewallRule -Name FPS-ICMP4-ERQ-In -Enabled True
Set-NetFirewallRule -Name FPS-ICMP6-ERQ-In -Enabled True

Configuring Point and Print Post Print Nightmare

Manually

Run the following command at an administrator command prompt on the client PC to allow non-admin users to install print drivers:

reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v RestrictDriverInstallationToAdministrators /t REG_DWORD /d 0 /f

To remove the above registry key, execute the following command as an administrator:

reg delete "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v RestrictDriverInstallationToAdministrators /f

Group Policy

In addition to the group policy that pushes a printer, I have created a second group policy called C_Configure_PointandPrint. To configure this policy, perform the following actions:

  1. Create a group policy with the name C_Configure_PointandPrint and link it to your workstation OU.
  2. Edit it and navigate to Computer Configuration > Preferences > Windows Settings > Registry
  3. Create a new registry setting with the following settings:
Action: Update
Hive: HKEY_LOCAL_MACHINE
Key Path: Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Value Name: RestrictDriverInstallationToAdministrators
Value Type: REG_DWORD
Value Data: 0
Base: Decimal