thanks but i had already found that blog. It appears that is working, it opens the new command prompt but i get invalid password when trying to map the drive and i have given the elevated user rights to the share and have confirmed that they can view it by logging into the system with that account.