SlowCoder74 Posted June 8, 2012 Share Posted June 8, 2012 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? Link to comment Share on other sites More sharing options...
willichan Posted June 9, 2012 Share Posted June 9, 2012 Stopping and restarting the print spooler service after copying them over might trigger the OS to recognize them. My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now