Running an executable in virtual machine through base machine
It worked by adding the keyword -interactive .....
Without it the GUI won't come..
Hence the command which works fine is
"C:\Program Files\VMware\VMware VIX\vmrun" -T server -h https://machine-name.domain-name:8333/sdk -u username -p password -gu guestusername -gp guestpassword runProgramInGuest "[standard] vmname/vmname.vmx" -activeWindow -interactive "C:\windows\system32\notepad.exe"