Jump to content
Sign in to follow this  
SlowCoder74

Network installed printers

Recommended Posts

SlowCoder74

Not specifically an AutoIT problem, but I'm hoping someone has some information ...

My program simply duplicates the HKCU\Printers\Connections key, which contains network printer configurations, from user account #1 to #2. In XP, it works great, making the printers available to user #2. In Windows 7, the copy is successful. But here's where things get off ...

Open an application under user #2's account, and the printers aren't there. Close the app, and reopen it, and they're there, and can be printed to. It's as if something needs to be triggered for Windows 7 to recognize the new printers. Any ideas?

Share this post


Link to post
Share on other sites
willichan

Stopping and restarting the print spooler service after copying them over might trigger the OS to recognize them.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.