What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

PhoneMyPC + Locking

Fanilow

New Member
I just got PhoneMyPC last night and it works great except for one thing. Is there anyway I can lock my computer from the program on my droid? Normally i would hit the winddows button + L but I want to be able to do it from the actions menu in the program as a shortcut. It says to write the command line and I havent been able to figure it out. I've tried "C:\Windows\System32\rundll32.exe user32.dll, LockWorkStation" but the computer says "error in user32.dll missing entry: LockWorkstation". Please help!
 
Hi Fanilow,

There is a bug in the Actions feature in that it makes the parameters lower case, turning "LockWorkStation" into "lockworkstation," which of course causes a mismatch. This will be fixed in an upcoming release.

Your options are as follows:

1) Have it happen automatically
* Double-click the PhoneMyPC icon in the System Tray
* Click the Advanced tab
* Check the box titled "Lock Workstation on Disconnect"
This will lock the PC every time you disconnect with PhoneMyPC.

2) Create a batch file and execute it via Actions
* Create a batch file containing the command line you showed
* Save the batch file to someplace simple, like "c:\lock.bat"
* Create an action to execute this

3) Lock it manually
* Press Ctrl+Alt+Del via the Shortcuts menu while using your PC
* Click the Lock Workstation button

Please let us know if there are other options you would like (besides the bug fix in the Actions feature :-)
 
Back
Top