Hey all,
I've been searching for an answer on this one, but it appears I can't find anything real specific to LOCAL printers (found some good info on network ones though).
I have about 7 machines which run XP Home addition (I know, it's not XP Pro, but it kind of fits the forum). They have "Limited User" accounts on them (and I want to keep them that way). They have USB printers though, and I'm seeing a problem when they reconnect the printers to the machines after I've updated them. If their account has admin privleges, the printer gets installed no prob. However as a limited user, it states that it needs the admin privs when the printer USB cable is reconnected. This is weird, because I DO install the printer when I have the machines back at my office with their account as an admin. I then reinstate the account to limited privleges when I'm done. When they take the machines back home though, they get the same prompt when they hook up their printers. I should note, these are EXACTLY the same type of USB printers (HP 5600's) that all have. It must be something with a different hardware ID or something.
At any rate, I'm working with a little executable I found called "lsrunas" (found it here:
With this, you can create some command prompt stuff to run as a specific user (with a pre-provided password). It works great for some programs. I'm trying to figure out how I can perhaps use that to create a batch file which will change their account to "admin" status (all in a hidden DOS window), then they can re log on with the proper privleges, and they should have no probs when they connect their printers. I can send them an additional batch file which can reinstate the privleges to limited again once they're done. I'm looking specifically for some type of command line references to change user account info. Or to be more specific, perhaps the particular executable to use with this "lsrunas" command that will open up the users and passwords console and somehow change their account to admin status. Hope that's not too tall of an order. Perhaps something with the "net use" commands???
I should note, these are pretty illiterate users who will just click the things I tell them to without question. They will never even know they have admin privleges if this all works out right.
Anyway, sorry for the big message, but I'm wondering if someone can help with this one.
I've been searching for an answer on this one, but it appears I can't find anything real specific to LOCAL printers (found some good info on network ones though).
I have about 7 machines which run XP Home addition (I know, it's not XP Pro, but it kind of fits the forum). They have "Limited User" accounts on them (and I want to keep them that way). They have USB printers though, and I'm seeing a problem when they reconnect the printers to the machines after I've updated them. If their account has admin privleges, the printer gets installed no prob. However as a limited user, it states that it needs the admin privs when the printer USB cable is reconnected. This is weird, because I DO install the printer when I have the machines back at my office with their account as an admin. I then reinstate the account to limited privleges when I'm done. When they take the machines back home though, they get the same prompt when they hook up their printers. I should note, these are EXACTLY the same type of USB printers (HP 5600's) that all have. It must be something with a different hardware ID or something.
At any rate, I'm working with a little executable I found called "lsrunas" (found it here:
With this, you can create some command prompt stuff to run as a specific user (with a pre-provided password). It works great for some programs. I'm trying to figure out how I can perhaps use that to create a batch file which will change their account to "admin" status (all in a hidden DOS window), then they can re log on with the proper privleges, and they should have no probs when they connect their printers. I can send them an additional batch file which can reinstate the privleges to limited again once they're done. I'm looking specifically for some type of command line references to change user account info. Or to be more specific, perhaps the particular executable to use with this "lsrunas" command that will open up the users and passwords console and somehow change their account to admin status. Hope that's not too tall of an order. Perhaps something with the "net use" commands???
I should note, these are pretty illiterate users who will just click the things I tell them to without question. They will never even know they have admin privleges if this all works out right.
Anyway, sorry for the big message, but I'm wondering if someone can help with this one.