Emailing through MYOB, run as Admin
Posted on 2013-06-07
I have been having some difficulties with emailing through MYOB. I am running Windows Server 2012 with Remote Desktop Services, I have Office 2010 (32 bit) and MYOB (32 bit) installed, when a user tries to send an email through MYOB I get the following error
"The attachment file was created successfully, but there was an error writing it."
I can see what the problem is, I think MYOB is trying to use the "c:\Users\Administrator\AppData\Local\Temp" folder to create and attach the PDF files, this is probably because I have the MYOB shortcuts with the following command in the Target field of the properties for the shortcuts
"C:\Windows\System32\runas.exe /savecred /user:administrator "c:\Premier19-NZ\myobp.exe"
I had to do this to stop MYOB asking for Administrator permission to run.
Not sure what to do or how to get myself out of this situation, any ideas?