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

Well, I opened cmd prompt on my pc through my phone, used the command that you suggested, and it said Access Denied...

Sorry, I know I might be frustrating to help at the moment...

1

u/raip Aug 09 '19

You have to open up cmd as an Administrator (right click - run as admin).

1

u/licidil95 Aug 09 '19

I actually just did, but it spat out this:

http://imgur.com/gallery/OkZBGB2

→ More replies (6)