Results 1 to 2 of 2

Thread: How to programatically change privillege in Local PC

  1. #1

    Thread Starter
    Hyperactive Member nUflAvOrS's Avatar
    Join Date
    Jul 2007
    Location
    Malaysia/ Currently at Singapore
    Posts
    372

    How to programatically change privillege in Local PC

    Hi All,

    I'm facing a headache problem.

    Currently, one of my system want to be migrated to another server.

    I'm designing a script which enable user to automatically change the DSN and replace the ini file which contain encryted connection string.

    All the steps are fine. the only problem make me headache is the privillege of user. Our company specified user privillege which enabled user to execute read , write or achieve something within local PC.

    Therefore, if the user who is running my script is holding lowest privillege. it cannot paste new copy of ini file to certain folder unless I login as administrator roles.

    Can someone give me any advisor for my situation?

    Thanks a lot.
    Last edited by nUflAvOrS; Mar 11th, 2009 at 09:06 PM.
    Where there is no hope, there can be no endeavor.

    There are two ways of rising in the world, either by your own industry or by the folly of others.

  2. #2

    Thread Starter
    Hyperactive Member nUflAvOrS's Avatar
    Join Date
    Jul 2007
    Location
    Malaysia/ Currently at Singapore
    Posts
    372

    Re: How to programatically change privillege in Local PC

    Any one may help me ?

    Thanks a lot :-)
    Where there is no hope, there can be no endeavor.

    There are two ways of rising in the world, either by your own industry or by the folly of others.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width