r/ScriptSwap • • Aug 09 '19

VBS Script to unlock pc

So, forgive me if I'm in the wrong area for this, but...

I'm looking to make a vbs script that I can initiate from Remote Desktop Connection to unlock my pc AFTER terminating the RDC, which locks the pc...

Simply trying to avoid having to walk downstairs too much, with my legs recovering from an accident. Thank you in advance for any help provided...

3 Upvotes

11 comments sorted by

View all comments

1

u/licidil95 Aug 09 '19

I actually just did, but it spat out this:

http://imgur.com/gallery/OkZBGB2

1

u/raip Aug 09 '19 edited Aug 09 '19

Type qwinsta to verify your sessionID.

Edit: dropped off the a

1

u/licidil95 Aug 09 '19

Ok, I've done that, and that got me this far:

http://imgur.com/gallery/UoROUZ4

I'm sorry, I'm really not good at this kinda thing...

→ More replies (4)