maniootek Posted March 27, 2018 Share Posted March 27, 2018 (edited) As topic says. RegWrite() require admin privilages in some cases. It would be nice if help file mention about it. For example RegWrite("HKEY_LOCAL_MACHINE64\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Active Setup Temp Folders", "test", "REG_DWORD", "1") ;require admin privilages RegWrite("HKEY_CURRENT_USER\Software\Test", "test", "REG_DWORD", "1") ;does not require admin privilages Edited March 27, 2018 by maniootek Link to comment Share on other sites More sharing options...
jpm Posted March 27, 2018 Share Posted March 27, 2018 definitly, I will update the doc Thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted March 27, 2018 Developers Share Posted March 27, 2018 (edited) 6 hours ago, maniootek said: RegWrite() require admin privilages in some cases. Like many other functions in case you automate a process which is running at- or requiring admin privileges! Are we going to mention it everywhere? Jos Edited March 27, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 27, 2018 Moderators Share Posted March 27, 2018 Agreed, someone who is reading the help file and is at all familiar with how modern Windows OS's work should be able to figure out that if something doesn't work as a normal user (or throws the UAC) it is a good indication they need to perform the task with elevated rights. Think of the countless areas of the help file we would have to add that to in order to account for someone potentially not reasoning it through. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
JohnOne Posted April 5, 2018 Share Posted April 5, 2018 (edited) I don't it think it should be assumed that people think about things, even if in most cases they do. Probably not unreasonable to have just a list of functions which might require user has admin privileges. I doubt it's that many. File writing, reg writing, process*. Having said that, I'm not even sure if there is a mention already. Edited April 5, 2018 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 5, 2018 Developers Share Posted April 5, 2018 (edited) There are quite a number more as all the Control*** and Win*** functions have the same issue as they can't automate windows that run on a different level. I am fine with stating something more around UAC in the helpfile than currently stated here about functions in general, but would find it pretty strange just to do it for the Reg*** functions. Thoughts? Jos Edited April 5, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 5, 2018 Moderators Share Posted April 5, 2018 (edited) Among the two choices, one statement around UAC in general with some verbiage around which types of functions would likely require it vs. a note on every single function, I would of course choose the former over the latter. Being more pragmatic however, we have to ask - with either route - what the likelihood is that anyone will read it anyway Edited April 5, 2018 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Developers Jos Posted April 5, 2018 Developers Share Posted April 5, 2018 2 minutes ago, JLogan3o13 said: with either route - what the likelihood is that anyone will read it anyway Too much effort went into the helpfile to not make it as good as we can and like to be in the position to trow the odd RTFM as people. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JohnOne Posted April 6, 2018 Share Posted April 6, 2018 A mention in the 'running scripts' section should suffice. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
iamtheky Posted April 7, 2018 Share Posted April 7, 2018 Agreed, a single blurb would suffice even without a list: 'you can read whimsically, but writing requires elevation for pretty much everything worthwhile'. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) 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