SysResc commands for local admin

All other questions
mattius6
Posts: 3
Joined: 14 Jul 2016, 17:40

SysResc commands for local admin

Postby mattius6 » 14 Jul 2016, 17:47

Hello, I was wondering if it is possible to run a command in system rescue where I can remove a local admin account from a local group? Basically I got locked out of my machine because my admin account is (by group policy) is put into a local group to DenyNetworkAccess. So is it possible to run a command to take the admin out of that group? Similar to chntpw -u 'username' SAM command....

mattius6
Posts: 3
Joined: 14 Jul 2016, 17:40

Re: SysResc commands for local admin

Postby mattius6 » 14 Jul 2016, 17:55

I run with "All files cached to memory (docache)"

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: SysResc commands for local admin

Postby gernot » 15 Jul 2016, 07:35

I dont think your problem is a "added to group" thing because groups give permissions.
Check the /etc/group file...

You write nothing about the system and the login device.
Most time you can log in as normal user and then su to admin account.

Gernot

p.s this post get moved to the right topic next time.

mattius6
Posts: 3
Joined: 14 Jul 2016, 17:40

Re: SysResc commands for local admin

Postby mattius6 » 15 Jul 2016, 11:38

Gernot,

The group is exactly my problem, that is the reason I cannot login as an admin.

System is Windows 7. I'm not connected to any domain so I cannot log in as a normal user. And our group policy denies access to almost every built in account when it is off the domain (DOD policies). So in order to log-in I need a workaround. The workaround is to remove one of the admin accounts from that group that is denying access. However, I do not know the command to do so

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: SysResc commands for local admin

Postby gernot » 15 Jul 2016, 17:01

Sorry, i cant help with windows groups.
There is a registry editor in sysrcd.
As i read some time ago also win regedit is able to modify SAM offline.

Gernot


Return to “Other”

Who is online

Users browsing this forum: Google [Bot] and 3 guests