LockWorkStation Isn't working


  1. Posts : 4
    Win 7 Pro x64
       #1

    LockWorkStation Isn't working


    Hi everyone,

    For some reason I can't lock my computer.
    A couple of days ago it was fine, and now nothing :/

    A little background, this is my work desktop, it's about a month old.
    Other than various work related software (programming/debugging) and basic utilities I haven't installed anything yet.

    Winkey + L does nothing, same as going to Start->Lock.
    The Lock option is absent from the Ctrl+Alt+Del screen, so I checked the GPO
    (which were fine) but I tried enabling/disabling anyway. No change.

    I tried invoking the call 'rundll32.exe user32.dll,LockWorkStation' but nothing happens.
    I even invoked it directly through code to check the return value, which was 'Success' >.<

    Rebooting and changing the user password didn't help either..


    Any help would be appreciated!!


    Edit: I also tried running 'Rundll32.exe User32.dll,SwapMouseButton' just to make sure calling User32.dll even works, and indeed it does.
      My Computer


  2. Posts : 3,904
    Windows 7 Ultimate 64-bit
       #2

    Hello there, i am just wondering if you have a keyboard with macro keys that you can program?

    Also can you try this:
       Information
    The sfc /scannow command (System File Checker) scans the integrity of all protected Windows 7 system files and replaces incorrect corrupted, changed/modified, or damaged versions with the correct versions if possible.
    SFC /SCANNOW Command - System File Checker
      My Computer


  3. Posts : 4
    Win 7 Pro x64
    Thread Starter
       #3

    Hey and thanks for the reply.

    No macro keys on this keyboard.
    I forgot to mention I performed 'sfc /scannow' already, but I did it again just to be certain...
    Still no good :s
      My Computer


  4. Posts : 3,904
    Windows 7 Ultimate 64-bit
       #4

    Hmm, you did mention you have looked in the REG.

    It may be worth inserting your install disk and performing a repair install :)
      My Computer


  5. Posts : 4
    Win 7 Pro x64
    Thread Starter
       #5

    HarriePateman said:
    It may be worth inserting your install disk and performing a repair install :)

    I'm afraid that will be my last resort.
    Though right now I'm more curious than anything about this problem..
      My Computer


  6. Posts : 3,904
    Windows 7 Ultimate 64-bit
       #6

    Yeah done blame you try a re-install though
      My Computer


  7. Posts : 6,285
    Windows 10 Pro X64
       #7

    If it's a work desktop, are you on a Domain and is there a IT department. Maybe they disabled Lock for some crazy reason.
    Last edited by Ztruker; 22 Sep 2014 at 09:18.
      My Computer


  8. Posts : 4
    Win 7 Pro x64
    Thread Starter
       #8

    Ztruker said:
    If it's a work desktop, are you on a Domain and is there a IT department. Maybe they disabled Lock for some crazy reason.
    Nope. While it is at work, it might as well be a personal computer.
    No IT, or any other department for that matter.. (just 2 PCs on a private line).
      My Computer


  9. Posts : 6,285
    Windows 10 Pro X64
       #9

    Boot to Safe Mode with Networking, see if you can lock it there. If yes then use Clean Boot to figure out which program/service is causing the problem.

    Perform a clean startup to determine whether background programs are interfering with your game or program
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:35.
Find Us