Modify

Opened 16 years ago

Closed 16 years ago

Last modified 2 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 Changed 16 years ago by TicketCleanup

  • Version 3.3.0.0 deleted

Automatic ticket cleanup.

comment:2 Changed 16 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

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.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.