Computer step by step
 Make your Pc better
Description:  

Restricts package point and print to approved servers.

This policy setting restricts package point and print connections to approved servers. This setting only applies
to Package Point and Print connections, and is completely independent from the "Point and Print Restrictions"
policy that governs the behavior of non-package point and print connections.

Windows Vista and higher clients will attempt to make a non-package point and print connection anytime a
package point and print connection fails, including attempts that are blocked by this policy. Administrators
may need to set both policies to block all print connections to a specific print server.

If this setting is enabled, users will only be able to package point and print to print servers approved by the
network administrator. When using package point and print, client computers will check the driver signature
of all drivers that are downloaded from print servers.

If this setting is disabled, or not configured, package point and print will not be restricted to specific print
servers.

Supported on: Windows Vista and Windows Server 2008
Package Point and print - Approved servers
Description Gpedit Regedit CMD Back VBScript PowerShell Script
Gpedit:   

Please perform the following steps:

Please go to Pearl button (Start) and click on the Search programs and files
For more information about the change from Start to Pearl button click here
Type gpedit.msc and press Enter
In the Group Policy window please navigate to User Configuration -> Administrative Templates ->
Control Panel -> Printers and open Package Point and print - Approved servers.
Not Configured -> is the Default state
Enabled -> apply this GPO
Disabled -> this GPO will not be applied

To finish press ok button and close Group Policy window.
Type regedit and press ok
Please confirm User Account Control pop-up
Microsoft official disclaimer

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by
using another method. These problems might require that you reinstall the operating system. Microsoft
cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Note: This registry key is created by Group Policy when this GPO is Enable or Disable. The GPO Default state
is Not Configured -> this registry entry is not present.

Please navigate to HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Printers
\PackagePointAndPrint
and locate PackagePointAndPrintServerList registry key
Regedit:          

Please perform the following steps:

Please go to Pearl button (Start) and click on the Search programs and files
For more information about the change from Start to Pearl button click here
   
   
Double click on PackagePointAndPrintOnly and edit the value:

To Enable:
Change the data value with:
PackagePointAndPrintOnly = 1
\ListofServers
10.0.0.10 = 10.0.0.10

To Disable:
Change the data value with:
PackagePointAndPrintOnly = 0

To finish press ok button and close Registry Editor window

Note: Manual editing of this registry key will not be reflected in Group Policy. If you modify this GPO from
Group Policy this registry key will be rewritten.
Type cmd, right click on cmd icon under the Programs and click on Run as administrator
Please confirm User Account Control pop-up
Please select, right and copy a registry key from below, then right click on command prompt window
, select Paste and press Enter

Enabled:
REG add "HKCU\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint" /v PackagePointAndPrintServerList /t REG_DWORD /d 1 /f
REG add "HKCU\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint\ListofServers" /v 10.0.0.10 /t REG_SZ /d 10.0.0.10 /f

Disabled:
REG add "HKCU\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint" /v PackagePointAndPrintServerList /t REG_DWORD /d 0 /f
Not Configured:
REG DELETE "HKCU\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint" /v PackagePointAndPrintServerList /f
REG DELETE "HKCU\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint\ListofServers" /v 10.0.0.10 /f

Note: Manual editing of this registry key will not be reflected in Group Policy. If you modify this GPO from
Group Policy this registry key will be rewritten.
CMD:          

Please perform the following steps:

Please go to Pearl button (Start) and click on the Search programs and files
For more information about the change from Start to Pearl button click here
   
VBScript:          

Const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")

strKeyPath1 = "Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint"
strKeyPath2 = "Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint\ListofServers"
oReg.CreateKey HKEY_CURRENT_USER,strKeyPath1
oReg.CreateKey HKEY_CURRENT_USER,strKeyPath2
strValueName1 = "PackagePointAndPrintOnly"
strValueName2 = "10.0.0.10"
'Enabled
dwValue = 1
strValue = cstr("10.0.0.10")
'Disabled
'dwValue = 0
oReg.SetDWORDValue HKEY_CURRENT_USER,strKeyPath1,strValueName1,dwValue
oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath2,strValueName2,strValue
'Not Configured
'oReg.DeleteValue HKEY_CURRENT_USER,strKeyPath1,strValueName1
'oReg.DeleteValue HKEY_CURRENT_USER,strKeyPath2,strValueName2
PowerShell Script :          

Enabled\Disabled

$RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT"
If(Test-Path ($RegKey + "\Printers"))
{
 $RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT\Printers"
 If(Test-Path ($RegKey + "\PackagePointAndPrint"))
 {
   $RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint"
    ##Enabled
   New-ItemProperty -path $RegKey -name PackagePointAndPrintOnly -value 1 -PropertyType DWord -Force
   If(Test-Path ($RegKey + "\ListofServers"))
   {
     $RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint\ListofServers"
     New-ItemProperty -path $RegKey -name 10.0.0.10 -value 10.0.0.10 -PropertyType String -Force
   }
   else
   {
     New-Item -path $RegKey -name ListofServers
     $RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint\ListofServers"
     New-ItemProperty -path $RegKey -name 10.0.0.10 -value 10.0.0.10 -PropertyType String -Force
   }
    ##Disabled
    ##New-ItemProperty -path $RegKey -name PackagePointAndPrintOnly -value 0 -PropertyType DWord -Force
 }
 else
 {
   New-Item -path $RegKey -name PackagePointAndPrint
   $RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint"
    ##Enabled
    New-ItemProperty -path $RegKey -name PackagePointAndPrintOnly -value 1 -PropertyType DWord
   New-Item -path $RegKey -name ListofServers
   $RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint\ListofServers"
   New-ItemProperty -path $RegKey -name 10.0.0.10 -value 10.0.0.10 -PropertyType String -Force
    ##Disabled
    ##New-ItemProperty -path $RegKey -name PackagePointAndPrintOnly -value 0 -PropertyType DWord
 }
}
else
{
 New-Item -path $RegKey -name Printers
 $RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT\Printers"
 New-Item -path $RegKey -name PackagePointAndPrint
 $RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint"
  ##Enabled
  New-ItemProperty -path $RegKey -name PackagePointAndPrintOnly -value 1 -PropertyType DWord
 New-Item -path $RegKey -name ListofServers
 $RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint\ListofServers"
 New-ItemProperty -path $RegKey -name 10.0.0.10 -value 10.0.0.10 -PropertyType String -Force
  ##Disabled
  ##New-ItemProperty -path $RegKey -name PackagePointAndPrintOnly -value 0 -PropertyType DWord
}

Not Configured

$RegKey = "HKCU:\Software\Policies\Microsoft\Windows NT"
Remove-ItemProperty -Path($RegKey + "\Printers\PackagePointAndPrint") -name PackagePointAndPrintOnly
Remove-ItemProperty -Path($RegKey + "\Printers\PackagePointAndPrint\Printers") -name 10.0.0.10
If( (Get-Item -Path($RegKey + "\Printers\PackagePointAndPrint\Printers")).ValueCount -eq 0 -and (Get-Item -Path($RegKey + "\Printers\PackagePointAndPrint\Printers")).SubKeyCount -eq 0)
{
 Remove-Item -Path($RegKey + "\Printers\PackagePointAndPrint\Printers")
}
If( (Get-Item -Path($RegKey + "\Printers\PackagePointAndPrint")).ValueCount -eq 0 -and (Get-Item -Path($RegKey + "\Printers\PackagePointAndPrint")).SubKeyCount -eq 0)
{
 Remove-Item -Path($RegKey + "\Printers\PackagePointAndPrint")
 If( (Get-Item -Path($RegKey + "\Printers")).ValueCount -eq 0 -and (Get-Item -Path($RegKey + "\Printers")).SubKeyCount -eq 0)
 {
   Remove-Item -Path($RegKey + "\Printers")
 }   
}
Up Back
   
   
   
Result
Need test pictures