I had to separate my scripts into a startup script and a logon script. The stuff that required elevated permissions moved to the startup script, and the mapping of printers, drives, and personal settings all move to the logon script.