1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Auto start encrypted program in Limited acct

Discussion in 'Security and Privacy' started by michaelgandalf, 2010/11/15.

  1. 2010/11/15
    michaelgandalf

    michaelgandalf Inactive Thread Starter

    Joined:
    2010/11/14
    Messages:
    6
    Likes Received:
    0
    Hi all,

    I have Windows XP professional. The computer has one purpose: to autologin and run a program at startup, and program cannot be copied by the user (I believe it should be encrypted). Also the program references files in the same folder and reads/writes to them. How can I do this?

    I have looked into adding a shortcut to the "Startup" menu for a limited user, then using TWeakUI to enable autologin, but the program doesn't startup when I do this, apparently since the program is located in the Owner (administrator priveledge) account.

    I then tried to encrypt the folder and autologin the the Owner account but it still seems like program can be copied as long as I'm in this account (even though it's encrypted).

    Putting the encrypted folder in the "shared" documents doesn't work either when I long in as an Limited User, I can't open the file (it's encrypted).

    Any help much appreciated...

    Thanks,

    Mike

    P.S. Bonus if you can tell me how would one do this on Windows XP home edition as well.
     
  2. 2010/11/16
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,068
    Likes Received:
    396
    Yoiu may have to give the limited user read & execute privledges for the program via its Properties window > Security tab.
     
    michaelgandalf likes this.

  3. to hide this advert.

  4. 2010/11/22
    michaelgandalf

    michaelgandalf Inactive Thread Starter

    Joined:
    2010/11/14
    Messages:
    6
    Likes Received:
    0
    Thanks TonyT. Changing the permissions of the folder where the program is located and adding the program to the "scheduled tasks" for the Limitied user worked, however the Limited user can still access the folder where the program is located (if they knew where to look), so this only solves half of my problem. I've found that the permissions need to be read AND write since my home-grown program, which I've converted to a Windows executable, writes to a history file while the program is running.

    I did a little more digging, I found out that there are utilities called SRVANY and INSTSRV that can turn a executable into a service that is called by the system. Then the service can be called at login and I'm hoping it will run the program and deny the Limited User access to the Admin folder. I followed the examples on the internet (from Microsoft) but they didn't work for me the way I was anticipating. I believe I will try this route unless someone has any advice on how to do this more easily. I'm thinking I will start a new post to detail this new challenge.
     
  5. 2010/11/22
    michaelgandalf

    michaelgandalf Inactive Thread Starter

    Joined:
    2010/11/14
    Messages:
    6
    Likes Received:
    0
    Thanks Tony...
     
  6. 2010/11/23
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,068
    Likes Received:
    396
    You could put the directory in the root of the drive and set its properties to "hidden ". You could then set a policy that prevents the user from viewing hidden folders and files.

    On XP Pro, you can set a group policy to deny users access to the Folder Options dialog:
    gpedit.msc > User Configuration > Administrative Templates > Windows Components > Windows Explorer > Enable the "Removes the Folder Options menu item from the Tools menu. "
     
    Last edited: 2010/11/23
  7. 2010/11/24
    michaelgandalf

    michaelgandalf Inactive Thread Starter

    Joined:
    2010/11/14
    Messages:
    6
    Likes Received:
    0
    Using the advice you gave me on setting a group policy, it worked, except I can still navigate to the folder by typing in the address, then I can right click in the folder and unhide using the "properties" option...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.