Alright, so I purchased rubber ducky a few weeks ago. Since I received the package I been trying simple payloads but it never works for me.
Part of the problems is that every time I plug in the USB, the target machine (Windows10 or Windows7 no security software) behaves as if I'm pressing ctrl+alt+del. If I don't touch anything and lets says they are a couple of tab keystrokes on the payload. I can see the machine tabbing through the ctrl+alt+del screen menu. Which leads me to believe the USB is recognized and somewhat functioning. But it doesn't matter what I use for the first line of the payload. It can be GUI r or Controls Escape the behavior is always the same.
REM open cmd
DELAY 3000
GUI r
DELAY 300
STRING cmd
DELAY 100
ENTER