Actually I need to correct a previous statement. When I tested it further, the problem seems to only affect administrative users. When I logged in with a normal user I did get the printers and the drives mapped successfully even with UAC on.