The problem with printing from the server.
One of the problems during the administration servers are printer.
Printers cease to function, your printer will not print, printer prints wrong side, the printer does not start.
The main causes of these problems to the drivers and software installed along with printers.
Many people have old drivers and update them and thus runs the risk of problems.
Print Spooler (Print Spooler) is the most neglected subsystem. But what happens when the server farm on which operates hundreds of people suddenly stop working print spooler? Printers stop working in paper form but also electronically (PDF).
Print Spooler that ceases to operate stably appropriates RAM and server paging file.
Printer manufacturers to keep trying to improve and to remove bugs in their drivers so they should be updated on a regular basis.
Further problems with duce a lack of permissions that can affect the propagation of the driver and the problem with permissions to files or folders.
Often permission problems are invisible to the user because the system does not report a specific message only suspends print user.
How to control the print spooler?
Print files located in the% SystemRoot% \ system32 \ cache
Drivers are located in the% systemroot% \ system32 \ spooler \ printers
Print permissions are needed which gives the administrator for a group or an individual user.
If there is a problem with printing or printing fails to execute, you can manually clean the print spooler of unnecessary files.
We go to the control panel for the printer or from the command line, type the command - control printers
and from that position we can manage printers.
Right-clicking on the printer and select the printer properties you can:
manage security permissions tab in the printer for individual users,
manage the drivers in the Advanced tab - you can see here all the drivers installed on the server,
or share the printer on the network.
Cleaning the print spooler
The primary way to clean the print spooler to be restarted. We go on the website, we search for the print spooler, and reboot the print spooler, we can do this from the command line command net stop print spooler net start spooler print.
If this does not help doing it in a more advanced way - the command line running as root, type the command services.msc and stop the print spooler, we can also perform the command net stop print spooler
We now move to the folder where the print spooler and delete all the files from it:
%Systemroot%\system32\spool\drivers\w32x86
% Systemroot%\system32\spool\printers
% Systemroot%\system32\spool\drivers\x64 (for 64bit system)
At the end restart the print spooler command - net start spooler print
Repair permissions to the folder printing.
Go to the folder C:\Windows\System32 (%systemroot%\system32)
We are searching for spooler folder, click on it with the right button and select Properties -> Security - Security should be a group of users who have the ability to print. If such a group does not exist should I add or create.
These settings should help a number of problematic situations with printers.
Printers command on Windows Server
Printers manager
C:\Windows\System32\Printing_Admin_Scripts\en-US\> cscript prnmngr.vbs
-l Show all printers
-a add local printer
-d remove printer
-g set default printer
-m show printer drivers
-p show printer name
-r show printer port
-t set default printer
-x remove all printer
MicrosoftnPowerShell Management Cmdlets
Microsoft.PowerShell.Management Cmdlets
Add-Computer
Add the local computer to a domain or workgroup.
Add-Content
Adds content to the specified items, such as adding words to a file.
Checkpoint-Computer
Creates a system restore point on the local computer.
Clear-Content
Deletes the contents of an item, but does not delete the item.
Clear-EventLog
Clears all entries from specified event logs on the local or remote computers.
Clear-Item
Clears the contents of an item, but does not delete the item.
Clear-ItemProperty
Clears the value of a property but does not delete the property.
Clear-RecycleBin
Complete-Transaction
Commits the active transaction.
Convert-Path
Converts a path from a Windows PowerShell path to a Windows PowerShell provider path.
Copy-Item
Copies an item from one location to another.
Copy-ItemProperty
Copies a property and value from a specified location to another location.
Debug-Process
Debugs one or more processes running on the local computer.
Disable-ComputerRestore
Disables the System Restore feature on the specified file system drive.
Enable-ComputerRestore
Enables the System Restore feature on the specified file system drive.
Get-ChildItem
Gets the items and child items in one or more specified locations.
Get-Clipboard
Gets the current Windows clipboard entry.
Get-ComputerInfo
Gets a consolidated object of system and operating system properties.
Get-ComputerRestorePoint
Gets the restore points on the local computer.
Get-Content
Gets the content of the item at the specified location.
Get-ControlPanelItem
Gets control panel items.
Get-EventLog
Gets the events in an event log, or a list of the event logs, on the local or remote computers.
Get-HotFix
Gets the hotfixes that have been applied to the local and remote computers.
Get-Item
Gets the item at the specified location.
Get-ItemProperty
Gets the properties of a specified item.
Get-ItemPropertyValue
Gets the value for one or more properties of a specified item.
Get-Location
Gets information about the current working location or a location stack.
Get-Process
Gets the processes that are running on the local computer or a remote computer.
Get-PSDrive
Gets drives in the current session.
Get-PSProvider
Gets information about the specified Windows PowerShell provider.
Get-Service
Gets the services on a local or remote computer.
Get-TimeZone
Gets the current time zone or a list of available time zones.
Get-Transaction
Gets the current (active) transaction.
Get-WmiObject
Gets instances of WMI classes or information about the available classes.
Invoke-Item
Performs the default action on the specified item.
Invoke-WmiMethod
Calls WMI methods.
Join-Path
Combines a path and a child path into a single path.
Limit-EventLog
Sets the event log properties that limit the size of the event log and the age of its entries.
Move-Item
Moves an item from one location to another.
Move-ItemProperty
Moves a property from one location to another.
New-EventLog
Creates a new event log and a new event source on a local or remote computer.
New-Item
Creates a new item.
New-ItemProperty
Creates a new property for an item and sets its value.
New-PSDrive
Creates temporary and persistent mapped network drives.
New-Service
Creates a new Windows service.
New-WebServiceProxy
Creates a Web service proxy object that lets you use and manage the Web service in Windows PowerShell.
Pop-Location
Changes the current location to the location most recently pushed onto the stack.
Push-Location
Adds the current location to the top of a location stack.
Register-WmiEvent
Subscribes to a Windows Management Instrumentation (WMI) event.
Remove-Computer
Removes the local computer from its domain.
Remove-EventLog
Deletes an event log or unregisters an event source.
Remove-Item
Deletes the specified items.
Remove-ItemProperty
Deletes the property and its value from an item.
Remove-PSDrive
Deletes temporary Windows PowerShell drives and disconnects mapped network drives.
Remove-WmiObject
Deletes an instance of an existing Windows Management Instrumentation (WMI) class.
Rename-Computer
Renames a computer.
Rename-Item
Renames an item in a Windows PowerShell provider namespace.
Rename-ItemProperty
Renames a property of an item.
Reset-ComputerMachinePassword
Resets the machine account password for the computer.
Resolve-Path
Resolves the wildcard characters in a path, and displays the path contents.
Restart-Computer
Restarts ("reboots") the operating system on local and remote computers.
Restart-Service
Stops and then starts one or more services.
Restore-Computer
Starts a system restore on the local computer.
Resume-Service
Resumes one or more suspended (paused) services.
Set-Clipboard
Sets the current Windows clipboard entry.
Set-Content
Writes or replaces the content in an item with new content.
Set-Item
Changes the value of an item to the value specified in the command.
Set-ItemProperty
Creates or changes the value of a property of an item.
Set-Location
Sets the current working location to a specified location.
Set-Service
Starts, stops, and suspends a service, and changes its properties.
Set-TimeZone
Sets the system time zone to a specified time zone.
Set-WmiInstance
Creates or updates an instance of an existing Windows Management Instrumentation (WMI) class.
Show-ControlPanelItem
Opens control panel items.
Show-EventLog
Displays the event logs of the local or a remote computer in Event Viewer.
Split-Path
Returns the specified part of a path.
Start-Process
Starts one or more processes on the local computer.
Start-Service
Starts one or more stopped services.
Start-Transaction
Starts a transaction.
Stop-Computer
Stops (shuts down) local and remote computers.
Stop-Process
Stops one or more running processes.
Stop-Service
Stops one or more running services.
Suspend-Service
Suspends (pauses) one or more running services.
Test-ComputerSecureChannel
Tests and repairs the secure channel between the local computer and its domain.
Test-Connection
Sends ICMP echo request packets ("pings") to one or more computers.
Test-Path
Determines whether all elements of a path exist.
Undo-Transaction
Rolls back the active transaction.
Use-Transaction
Adds the script block to the active transaction.
Wait-Process
Waits for the processes to be stopped before accepting more input.
Write-EventLog
Writes an event to an event log.
Repair print spooler - printing problem
When you print a document, you may receive an error Which will no printing capabilities.
The printer will be available printing process does not start.
One of these problems is to stop the print spooler.
The easiest way to repair to restart the computer after the restart the spooler service prices should start again.
If not, we can not restart the computer to restart, we can proce single.
The first single way START Process
How we do it.
Turn snap Services
Click Start -> Run -> service.msc OR press Win + R and type in services.msc
The process of searching for the name of the Print Spooler and click on it with the right button start the run.
If the problem does not repair the printer Cause can be locked print folder
We can check if the printout is not in this folder by typing the path:
Start -> Run -> %systemroot%\system32\spool\Printers
The second way repair services from the Command Line
We do as follows:
Win + R and In the run enter cmd.
In Black box enter:
Buffer net stop
Stop Process Print
Buffer net start
START Process Print
We can also type net stop "Print Spooler"
To quickly delete the documents in the Printers folder, type the following command
Del /F /S C:\WINDOWS\system32\spool\Printers\*.*
The /F - Force deleting read-only files
Parameter /S - Erases files from all the subfolders
Even you can add paramter /P thanks to him not not have to confirm the deletion of the file.
The third way if the problem occurs often you can write a script .bat That run will do for us Dating Steps. Stop the print spooler, deletes the files in the folder PRINTERS and restart the print spooler.
@echo off
echo Repair spooler
stop buffer Net
echo Deleting documents in the print queue - Confirm the deletion by pressing Y
del /F /S "%systemroot% \system32\spool\PRINTERS\*. *"
net start spooler
echo Completed repair Printers
pause
The above list is written to make the file name sachets dowalną NP. naprawa_drukarki oo rozszerzreniem .bat
Run the file by clicking the mouse on it and selecting Run as administrator!
Google Translate for Business:Translator ToolkitWebsite TranslatorGlobal Market Finder
About Google TranslateCommunityMobile
About GooglePrivacy & TermsHelpSend feedback
Page 59 of 93