Run- time error 5: invalid procedure call or argument ( when copying a doc to another file )

Run- time error 5: invalid procedure call or argument ( when copying a doc to another file )

Getting this error when copying a document to another file in expd8



Give 'Everyone' access to C:/ProgramData/Microsoft/Crypto/RSA/MachineKeys ( right click then select properties, then go to security tab, select on Everyone then click edit button and click allow then click OK ) 

ProgramData isn't an option when searching for it you'll will need to add it in manually in the URL of the file explorer.