Sign in to follow this  
Followers 0
shanet

Registry editing with non admin privs

7 posts in this topic

:x AutoIT doesn't like me :P

OK.

So basically, as the title says, I wish to be able to edit the registry as a non-admin. I'm sure all the other programs on my computer do it, so why cant mine? I have created a sub branch for my program to store its information in the registry and wish to be able to edit keys under that. However I must be an admin to do so!

Is there any way to be able to get a program to run, any lines I can add, to make a program be able to edit the keys without admin privelidges?

Thanks guys,

shanet


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites



Never mind i shall find another way around it


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

Hello shanet,

You might want read up on #RequireAdmin in your helpfile.

Realm


My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.  

Share this post


Link to post
Share on other sites

Hello shanet,

You might want read up on #RequireAdmin in your helpfile.

Realm

Hi again Realm,

I havent been on much today so sorry for the late reply (its 2:04 am over here and my sleeping is problematic at the moment so I decided to see if anyone did have any sort of answer... anyway...)

I have looked at #RequireAdmin before, I do not wish to implement it, I wish to be able to use what I am making in normal accounts as well.

However thankyou again for your help :x

shanet


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

shanet,

#RequireAdmin, does not mean the script has to run from the Admin Account, it means the script can run on any account, as if it has Admin rights.

Realm

Edit: From the Help File 'This function was primarily aimed at allowing AutoIt scripts to work correctly with Windows Vista User Account Control (UAC)'

Edited by Realm

My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.  

Share this post


Link to post
Share on other sites

Depends what keys you want to access. This should only be HKEY_CURRENT_USER (HKCU) with your program, which is fine. You will always need higher priviliges to write to HKLM.

Share this post


Link to post
Share on other sites

#RequireAdmin, does not mean the script has to run from the Admin Account, it means the script can run on any account, as if it has Admin rights.

OK, I must have missed that part. Thankyou.

Depends what keys you want to access. This should only be HKEY_CURRENT_USER (HKCU) with your program, which is fine. You will always need higher priviliges to write to HKLM.

Thanks Mat, I also didnt know that. I shall try that.

Hoping it all works now!

shanet


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0