Thread: Reimplement Lock Feature Without Installation Privileges

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    35

    Reimplement Lock Feature Without Installation Privileges

    The workstations at my workplace do not allow for us to lock our computers, nor do they allow us installation access. Therefore, I am wondering if it is possible to reimplement the Windows Lock feature into a simple executible file (so that I do not need to install anything) to keep others from messing with my workstation while I am away. Thanks in advance.

  2. #2
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    You probably are just out of luck. If you cannot even install a program, you proably will not be able to edit the system security profile. If you can (sounds like your security people are on the wrong team, maybe you can ) it is under Control Pannel -> Administrative tools -> Local Security Settings. Look at the local policies, then security options. Disable the "Interactive Logon: Don't require CTRL-ALT-DEL to logon.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    35
    Well, to clarify a bit, I do not have a local account on the machine. I logon via an account set up through Active Directory and connect to the domain. I'm quite positive that I do not have access to modify anything within the Administrative Tools, but I can install things to a network drive (though not a local one). Does that change the situation at all?

  4. #4
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Quote Originally Posted by queue
    install things to a network drive but not to a local one
    Do you mean you can SAVE things to a network drive? Install implies that you have the permissions to write things to the local registry.

    A network account does grant some privledges to the local machine, if the local machine is a part of the network.

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    35
    Quote Originally Posted by Kennedy
    Do you mean you can SAVE things to a network drive? Install implies that you have the permissions to write things to the local registry.
    Yes, you are correct. I can save things to a network drive, but I do not have access to the local registry.
    Quote Originally Posted by Kennedy
    A network account does grant some privledges to the local machine, if the local machine is a part of the network.
    The local machine is part of the network. However, I think the sysadmin placed quite a few restrictions on local access from network accounts, though it's not completely restrictive.

  6. #6
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Sentence 1, post #2.

  7. #7
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    If;

    1) You are running under windows NT/2000/XP/etc

    2) All you want to do is lock your screen.

    Then have a look here. The sslaunch.zip which is available as a link from there contains a program (with source code provided) that when run will start your selected screen saver.

    This is not a complete security solution but, used in conjunction with a screen saver and password protection enabled .....

  8. #8
    Registered User
    Join Date
    Sep 2006
    Posts
    35
    Thanks for your post, grumpy. However, the sysadmin has limited our local access to the point where we cannot even set our own screensaver, much less password protect it.

    I was looking more into the realm of writing something that would not be susceptible to ctrl-alt-del or alt-tab and only return to the workstation if the username and password matched in a user database (most likely implemented through a text file). And, as always, I cannot touch the local registry. Just how feasible would this be, and is there already an existing solution?

  9. #9
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Talk to the system admin. I know I would be upset if I was that system admin and someone put a lock on one of my computers. I had to deal with that stuff in highschool since instead of staying in my computers class, I was sent around the school to fix what idiots messed up and did.

  10. #10
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Quote Originally Posted by Queue
    Thanks for your post, grumpy. However, the sysadmin has limited our local access to the point where we cannot even set our own screensaver, much less password protect it.
    That suggests that you're trying to do something the sysadmin doesn't want you to do.

    As Wraithan said, have a word with the sysadmin. If you have a genuine reason, s/he can set up something for you.

  11. #11
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Keyboard and mouse hook that returns -1.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. lock needed in this scenario?
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-25-2008, 07:22 AM
  2. read write lock in C#
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 04-16-2008, 08:49 AM
  3. Atomic Operations
    By Elysia in forum Windows Programming
    Replies: 27
    Last Post: 03-27-2008, 02:38 AM
  4. nested lock?
    By George2 in forum C# Programming
    Replies: 2
    Last Post: 03-23-2008, 08:33 AM
  5. Threading and mutex's
    By megatron09 in forum C++ Programming
    Replies: 14
    Last Post: 09-07-2006, 02:40 PM