RediXe Posted June 17, 2008 Share Posted June 17, 2008 Is the RunAsSet no longer in use? I get an unknown function error when I try to use it, so I checked:http://www.autoitscript.com/autoit3/docs/functions/to make sure I was doing it correct and it isn't there. Am I just missing something obvious? I did some google searches and my syntax appears to be correct it is just that the function doesn't exist. It's been a good while since I used autoit for admin purposes so maybe I missed a change. If there is a work around please let me know. TIA!RediXe Link to comment Share on other sites More sharing options...
TehWhale Posted June 17, 2008 Share Posted June 17, 2008 Correct, the function: "RunAsSet" has been removed from the AutoIt functions! Best of Luck, J.B. Link to comment Share on other sites More sharing options...
GaryFrost Posted June 17, 2008 Share Posted June 17, 2008 16th May 2008 - v3.2.12.0AutoIt:RunAsSet() has been removed. Use the new RunAs() and RunAsWait() functions instead. They have been enhanced with slightly better security (It is still not recommended to store important passwords in your scripts) and more functionality. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
RediXe Posted June 18, 2008 Author Share Posted June 18, 2008 (edited) (It is still not recommended to store important passwords in your scripts)How do you suggest getting around this? Just curious. Edited June 18, 2008 by RediXe Link to comment Share on other sites More sharing options...
cartman380 Posted June 18, 2008 Share Posted June 18, 2008 How do you suggest getting around this? Just curious.A simple gui, with a password field. Link to comment Share on other sites More sharing options...
micswe Posted July 17, 2008 Share Posted July 17, 2008 Hello, i think the stored password is a fine feature for admins, to adminsiter pc in a network im wondering that runasset is removed. My workouround is a helper applikation that start the script with admin rigths. Michael Link to comment Share on other sites More sharing options...
Airwolf Posted July 17, 2008 Share Posted July 17, 2008 How do you suggest getting around this? Just curious.Use _StringEncrypt() to encrypt the passwords with RC4, then store the decryption key in the registry or an ini file only accessible on your network. Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now