Install printers as a non admin on a laptop
Results 1 to 7 of 7

Thread: Install printers as a non admin on a laptop

Hybrid View

  1. #1
    Registered User
    Join Date
    Jul 2000
    Location
    Huntington Beach, CA, USA
    Posts
    1,515
    One possible solution:

    Create a local user account for the laptop user. Call it [username]ad - that way they realize that they are logged in using increased permissions. Give those user ID's Power User rights, this should allow them to add printers to the laptops that are available to their normal profile. Another option would be to have an OU created called "mobile workforce" and add all your laptop users to it, you could then have the group policy ignored for this OU and a new one created for them.
    Death is lighter than a feather - duty heavier than a mountian.

    The answer to your question is: 00110100 00110010

  2. #2
    Registered User
    Join Date
    Jun 2004
    Location
    San Francisco
    Posts
    3

    Talking

    Thanks for all the inputs to this question. I actually have thought about all the suggestion ranging from different GPO's applied to different Groups or OU's to new userid on the local laptop to making them Power or Admins. However doing any one of those things can cause a security risk to the laptop (intentional or unintentional). Our laptops are in a lockdown state so users cannot install software or anything else for that matter when they are on the Coprorate LAN and we like to maintain that when they are off net also. So for SA's out there who don't want to give admin or power user rights to users to do a simple printer install, read on

    The good news. I found a way to do this. Now a "regular" user to the laptop can have permissions to install printers without making them a local admins. Its based upon the well known runas command.

    We created an executable with a third party tool called Autoit (version 3)(www.autoitscripts.com) Basically you will need to find out the name of the .cpl file that needs to be opened. In this case we need to run the "add printer" function. One caveat here though. The original source file *.au3, has the password displayed but once you convert it to an .exe, you can't really "reverse" it out to find out what the local admin password is


    For those interested, here is the script:

    ; AutoIt Version: 3.0
    ; Language: English
    ; Platform: Win9x / NT - NOTE :this works on XP also
    ; Author: A.N.Other <[email protected]>
    ;
    ; Script Function:
    ; Template AutoIt script.
    ;
    ; ----------------------------------------------------------------------------


    ; ----------------------------------------------------------------------------
    ; Set up our defaults
    ; ----------------------------------------------------------------------------

    ;AutoItSetOption("MustDeclareVars", 1)
    ;AutoItSetOption("MouseCoordMode", 0)
    ;AutoItSetOption("PixelCoordMode", 0)
    ;AutoItSetOption("RunErrorsFatal", 0)
    ;AutoItSetOption("TrayIconDebug", 1)
    ;AutoItSetOption("WinTitleMatchMode", 4)


    ; ----------------------------------------------------------------------------
    ; Script Start
    ; ----------------------------------------------------------------------------
    RunAsSet("Administrator", @Computername, "xxxxxxxxx")
    Run("C:\Windows\system32\rundll32.exe printui.dll,PrintUIEntry /il", "C:\Windows\system32", @SW_MINIMIZE)


    ;NOTE here:xxxxxx=password of the local computer administrator

  3. #3
    Registered User
    Join Date
    Jun 2004
    Location
    San Francisco
    Posts
    3
    Oh I forgot. Once you convert the .au3 file to a .exe, all you do is copy the .exe to the laptop somewhere, create a shortcut to it and have the user doubleclick it to launch the Printer wizard

    Cheers!

  4. #4
    Registered User
    Join Date
    Jul 2000
    Location
    Huntington Beach, CA, USA
    Posts
    1,515
    Death is lighter than a feather - duty heavier than a mountian.

    The answer to your question is: 00110100 00110010

Similar Threads

  1. problem with IBM and printers
    By Todo in forum Tech-To-Tech
    Replies: 3
    Last Post: July 10th, 2003, 10:18 AM
  2. Can't install Windows on HP laptop
    By Ronin in forum Tech-To-Tech
    Replies: 9
    Last Post: January 31st, 2003, 07:49 PM
  3. HP Color LaserJet 4500N install problems
    By delmer_1 in forum Digital Imaging
    Replies: 0
    Last Post: September 6th, 2001, 08:41 AM
  4. Install Memory on a Dell Laptop
    By kphoutha in forum Laptops/PDAs/Smartphones
    Replies: 4
    Last Post: June 1st, 2001, 01:05 PM
  5. [RESOLVED] Cannot install software in Win95
    By Seldon in forum Windows 95/98/98SE/ME
    Replies: 3
    Last Post: August 3rd, 1999, 05:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •