Rick0

CORRECAO_IMPRIMIR_EM_REDE

Nov 10th, 2021 (edited)
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.41 KB | None | 0 0
  1. @echo off
  2. setlocal EnableDelayedExpansion
  3. TITLE CORRIGINDO ERRO DE IMPRESSAO 0x0000011b AGUARDE...
  4. pushd "%~dp0"
  5. if not "%1"=="am_admin" (%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe start -verb runas '%0' am_admin & exit /b)
  6. POPD
  7. REG ADD "HKLM\System\CurrentControlSet\Control\Print" /f /v "RpcAuthnLevelPrivacyEnabled" /t REG_DWORD /d "0" >NUL
  8. ECHO CORRECAO APLICADA COM SUCESSO...
  9. TIMEOUT 2
  10. EXIT
Add Comment
Please, Sign In to add comment