Modify

Opened 17 years ago

Closed 17 years ago

Last modified 3 years ago

#836 closed Feature Request (Rejected)

RegWrite - set registry key as another user

Reported by: guenther_mandl@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

In our company user have no admin rights on their machines.
If we have to change some registry keys and we want to scrip it with autoit, we have to start the compiled exe as another user, or we write a second script which starts the first script as an admin.
Example:
RegWriteAs ("username", "domain", "password", "keyname" [,"valuename", "type", value] )

Another Idea would be "Priviledge Escalation", that means that we could run some parts of the code as another user.
Example:
StartRunCodeAs("username", "domain", "password")
Code...
StopRunCodeAs()

PS: AutoIT rulez!!

Attachments (0)

Change History (2)

comment:1 by TicketCleanup, 17 years ago

Version: 3.3.0.0

Automatic ticket cleanup.

comment:2 by Valik, 17 years ago

Resolution: Rejected
Status: newclosed

You can re-run the same script with RunAs(). Or, if you are ambitious you can use DllCall() and the Windows API to impersonate another user. RunAs() is the simplest solution though.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.