Jump to content

Alt + Y Issue When No Administrator Window Pops Up

Recommended Posts

I just tried out the powershell code on my own computer, and hit a snag.

If Windows just opens the powershell without popping up the Administrator Yes/No window, then hitting Alt + Y messes up the code, turning it into:

ymode con:cols=18 lines=1

Which obviously isn't going to work.  I'm pretty sure I told my computer settings in the past to stop bugging me to confirm that as Administrator, yes, I wanted to let a program make changes.

I'm new to Ducky Script, so I don't know if there's a better alternative, but I think a quick fix could be just having it inject ENTER again after ALT y, so whether the Administrator window pops up or not, the rest of your code can continue.

Also, curious - is there an x,y position function in Ducky Script that can pop the powershell window completely offscreen, so the color scheme won't even matter? Or at least all the way down to the lower right corner, so hardly any of it is visible? If so, is there a relative position function so it'll always move offscreen/lower right regardless of screen size?

(Update: I just read a little Ducky Script...I think GUI DOWNARROW would minimize the powershell window to the taskbar, but unfortunately it stops being the active window, so no further code could be entered. Is there a workaround for this, maybe?)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...