Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How can my son run CheatEngine as non-admin?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
kimski
How do I cheat?
Reputation: 0

Joined: 02 Dec 2013
Posts: 4

PostPosted: Mon Dec 02, 2013 3:24 pm    Post subject: How can my son run CheatEngine as non-admin? Reply with quote

Every time he runs it I have to enter the admin password (which I don't want to give to him so please don't suggest that).
Back to top
View user's profile Send private message
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Mon Dec 02, 2013 3:38 pm    Post subject: Reply with quote

There is no solution, that's the reason behind the user control system that users with lower privileges have no access.
Back to top
View user's profile Send private message
kimski
How do I cheat?
Reputation: 0

Joined: 02 Dec 2013
Posts: 4

PostPosted: Mon Dec 02, 2013 6:07 pm    Post subject: Reply with quote

There are plenty of apps that (once installed by admin) can be used by all. Using admin as your standard login for everything you do is a bad idea because of it's vulnerability to hackers. The whole point of admin is to authorize an install and then you log in as non-admin so nobody can install crap on your computer without your knowledge. Once my admin authorized this install there is no reason why it has to be admin to continue to run. It doesn't stop people who shouldn't have access to it but just becomes a hassle everytime you want to run it.
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Mon Dec 02, 2013 6:37 pm    Post subject: Reply with quote

Just create for him an admin account, and disable those password requirements?
lock your folders with the files with a password and you shouldn't be scared of him finding anything personal.. (although there's no reason to hide stuff from your son.. lol).

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Dec 02, 2013 7:39 pm    Post subject: Reply with quote

Why do you not want him to have admin privileges? Solutions may differ, depending on your reasoning.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25807
Location: The netherlands

PostPosted: Mon Dec 02, 2013 8:03 pm    Post subject: Reply with quote

You could use an hexeditor or resource editor and change the RequireAdministrator part to asInvoker.

Ce might not be able to change variables in certain processes then though

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
kimski
How do I cheat?
Reputation: 0

Joined: 02 Dec 2013
Posts: 4

PostPosted: Mon Dec 02, 2013 8:28 pm    Post subject: Reply with quote

Thank you for all your responses.

The computer is used only by the kids but I have time limits (Windows Cool set for each child so they have their own login.

I honestly don't know anything about the application as my son installed it but I just hate having to type in the password everyday when he runs it.

Dark Byte,
Can you elaborate a little more on your suggestion? Is the "RequireAdministrator" inside the Cheat Engine app or is this an OS change?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25807
Location: The netherlands

PostPosted: Mon Dec 02, 2013 8:33 pm    Post subject: Reply with quote

It's a manifest in the resource section of the cheat engine .exe. Windows versions since vista read it and use that to decide to demand admin rights or not

You'll need to use an hexeditor or specific resource editor (reshack ?) To edit it

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
kimski
How do I cheat?
Reputation: 0

Joined: 02 Dec 2013
Posts: 4

PostPosted: Mon Dec 02, 2013 8:36 pm    Post subject: Reply with quote

Thanks Dark Byte.

My husband is a software engineer so I'll see if he knows how to do this.

PS with a name like "Dark Byte" what's with the My Little Pony avatar?
Back to top
View user's profile Send private message
SteveAndrew
Master Cheater
Reputation: 30

Joined: 02 Sep 2012
Posts: 323

PostPosted: Tue Dec 03, 2013 8:09 am    Post subject: Reply with quote

kimski wrote:
Thanks Dark Byte.

My husband is a software engineer so I'll see if he knows how to do this.


Well it's actually quite easy... I do this anytime I need to require a program to run as administrator (after the fact it's been compiled)... Actually the reverse of this procedure is what I normally do (but only when necessary like with a program like CE [But it's not absolutely necessary, only so it will work for all games / apps it is])

[Changing An Application's Requirement For Administrator Rights Guide]

1. Get a well known program called 'Resource Hacker':
http://www.angusj.com/resourcehacker/

2. After downloading and installing it, you may want to back up your CE folder before modifying its executable files! You'll be modifying CE's executables' to remove the Administrator requirement!

3. Run 'Resource Hacker' and goto File->Open and browse to your CE directory and open the first Cheat Engine executable with it. If you are using CE 6.3, there will be three executables that CE has in its directory, so I recommend changing this resource in all three executable files. Most likely you have a shortcut to CheatEngine.exe and it uses the x86_64.exe or i386.exe when necessary. (Correct me if I'm wrong)


4. Expand resource 24->1->0 and locate 'requireAdministrator' string within the text displayed Very Happy



5.Change string to 'asInvoker' instead and hit 'Compile Script' button and it should compile without any errors!


6. Finally save the resulting modified executable overwriting the original! Once this procedure has been done to all three exe's it should be good to go for a non-administrator CE.

That should help Wink

_________________
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Tue Dec 03, 2013 9:22 am    Post subject: Reply with quote

kimski wrote:
There are plenty of apps that (once installed by admin) can be used by all.
And said apps do not do certain things that explicitly require admin rights. Firefox, Notepad++, Cube World, etc. do not try to do anything that would be seen as risky by the OS.

Cheat Engine, on the other hand, hooks into and reads all the memory and data of other running programs on the same computer. This is seen as a possible security threat by Microsoft (imagine if a game you ran was able to read your passwords you're tying into your web browser at the same time, for example), which is why this permission is not given to programs normally (only ones run as admin, which is not the default).

So while it would be theoretically possible to make CE launch without admin rights, most of what it wants to do will likely fail without admin rights.

Most programs install themselves to a semi-protected area of the drive, which is why most of them need admin rights to install (there are some exceptions like Chrome that use a user portion of the drive and not a system portion), but admin rights and UAC are not just for installers. It's a permissions system to keep normal programs from prying where they normally should not. However there are exceptions to this idea (as in, there's programs like Cheat Engine and FRAPS that do these "risky" activities normally), which is why there's a popup and an easy way to run programs as admin now from a normal account (opposed to XP and below that did not implement this sort of control).
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Tue Dec 03, 2013 7:02 pm    Post subject: Reply with quote

I've never tried running CE inside a VM, but would that possibly work? If so, it might be a really elegant solution to install a whole new OS for the boy such that he can have his own little administrative account within a sandbox of your making.

Either way, good on you for endeavoring to help your son in this way. Being a whiz with a debugger would give him a HUGE advantage over everyone else when it comes time to learn programming languages, computer organization, etc., in school.
Back to top
View user's profile Send private message
briantehownerer
How do I cheat?
Reputation: 1

Joined: 18 Sep 2013
Posts: 9

PostPosted: Tue Dec 03, 2013 11:03 pm    Post subject: This post has 1 review(s) Reply with quote

You could always cheat it and set CE to run with the task Scheduler.

make a basic new task, at login of current user. Start application CE.exe
Once you get that set up how you like, just go to the main window, and double click your new scheduled and on the general tab check the box with "run with highest privileges"

I think the should work for him so long as he can have it minimized or just relog every time he needs it.

Best of luck
Back to top
View user's profile Send private message
ner0
Cheater
Reputation: 0

Joined: 10 Dec 2011
Posts: 32

PostPosted: Wed Jan 25, 2017 5:51 pm    Post subject: Reply with quote

How likely is it that something like this could be done for standalone trainers?
I tried on one and it gives the following error:
Quote:
"your temp folder must allow execution"

...even though the trainer extracted itself to "%temp%\cetrainers".

Afterwards a new EXE can be found inside that temp folder, which again has the "requireAdministrator" in it. Certainly there are operations which go beyond the scope of the normal user and require higher privileges but a lot of stuff can be done without.
Back to top
View user's profile Send private message
fakuivan
Newbie cheater
Reputation: 0

Joined: 27 Dec 2018
Posts: 17

PostPosted: Thu Nov 18, 2021 2:03 pm    Post subject: Reply with quote

Setting the environment variable "__COMPAT_LAYER" to "RUNASINVOKER" before starting cheat engine ignores the UAC prompt request. https://devblogs.microsoft.com/oldnewthing/20161117-00/?p=94735.
I don't see why cheat engine would need admin privileges, as practically no debuggers do, except for system processes of course.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites