TECHNOLOGY CORNER

TIPS AND TRICKS FOR IT PROFESSIONALS

Batch file to create printer and set it as defalut

Open notepad and enter the following

@ Echo off
Net use \\192.168.1.100\HPLaserjet
rundll32 printui.dll,PrintUIEntry /y /q /n \\192.168.1.100\HPLaserjet
exit

Save the file as a ".bat"

You can now add this script to your start up menu, or login scripts using Group Policy
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Home
Subscribe to: Posts (Atom)

Topics

  • Home
  • How to Extend Disk Partition Using Diskpart
  • Active Desktop Recovery Fix (Windows XP)
  • How to Remotely Enable Remote Desktop
  • Set Default Printer from Registry
  • Batch file to create printer and set it as defalut
  • Cannot start Microsoft Outlook. Unable to open the Outlook window
  • Manually Uninstall Backup Exec Agent for Windows
  • Automatically reply to email messages with an Exchange Server account
  • How to restore the Outlook default installed toolbars and settings
  • How to Speed up Outlook 2007 on XP and Vista by Removing Outlook DAT Files

Blog Archive

  • ▼  2014 (1)
    • ▼  April (1)
      • RIP Windows XP

About Me

Unknown
View my complete profile
Simple theme. Powered by Blogger.