Go Back   TechArena Community > Technical Support > Computer Help > Windows Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Deny Logon Locally

Windows Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-02-2007
Donald
 
Posts: n/a
Deny Logon Locally

I was trying to prevent a user from seeing the Domain to Logon to.

I added the user's account to Deny Logon Locally in

Local Computer Policy>Computer Configurations>Windows Settings>Security
Settings>Local Polices>User Rights Assignment>Deny Logon Locally

Now I can't logon under the user's account, or the Administrator Account, or
my Administrators account.

Can someone help me get back into this machine?
Reply With Quote
  #2  
Old 12-02-2007
Harry Johnston
 
Posts: n/a
Re: Deny Logon Locally

Try booting into safe mode, this may allow you to log into the local
administrator account.
Reply With Quote
  #3  
Old 12-02-2007
Donald
 
Posts: n/a
Re: Deny Logon Locally

This does not work even in safe mode
using the Administrator account I get "The policy of this machine does not
allow you to logon interactively."
Reply With Quote
  #4  
Old 12-02-2007
Donald
 
Posts: n/a
Re: Deny Logon Locally

I also tried booting to the Recovery Console and using ntrights.exe to reset
the users profile, but the recovery console does not recognize ntrights.exe.
I also tried putting the hard drive into another machine and using
ntrights.exe, but then it asked for the sid number and gave an error 87 or 81.

I am probably going to have to reformat this hard drive.
Reply With Quote
  #5  
Old 13-02-2007
Harry Johnston
 
Posts: n/a
Re: Deny Logon Locally

There is a way around, given that you've got another Windows machine you can put
the hard drive into. Warning: this procedure is not supported by Microsoft, so
I can't promise it won't damage the system. However, if you're about to format
the disk anyway ...

First make a backup copy of the contents of \windows\system32\config from the
damaged system.

Run regedit, click on HKEY_LOCAL_MACHINE and then select Load Hive from the File
Menu. Select the file named "system" from the folder \windows\system32\config
on the damaged system. Name the key xxx (or whatever, doesn't matter really).

Open the xxx key, then the Setup key inside it. Change SetupType to 2. Change
CmdLine to cmd.exe. Shut down and boot to the original system. You should get
a command window from which it should be possible to run ntrights or gpedit.msc.
Reply With Quote
  #6  
Old 15-02-2007
Donald
 
Posts: n/a
I just had a chance to try what you said. It really did work. I
opened up gpedit.msc and undid what I had done and then I opened regedit and
returned the registry key CmdLine to a blank. The Change SetupType was
already 0. I rebooted the machine and it works great.

You have saved a new computer and me from a lot of work. Thanks many times over.
Reply With Quote
  #7  
Old 22-10-2011
Member
 
Join Date: Oct 2011
Posts: 1
Re: Deny Logon Locally

I know this thread is old, but i want to thank you.

You saved my live! THANK YOU :)

PS: Yes, this method works very well on Windows Server 2008 R2 Enterprise
Reply With Quote
  #8  
Old 24-12-2011
Member
 
Join Date: Dec 2011
Posts: 1
Re: Deny Logon Locally

Thank you Harry Johnston

I Saved my system by following your way.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Security


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Deny Logon Locally"
Thread Thread Starter Forum Replies Last Post
Dumping logon name and logon script values to a text file - blank logon script field Phil McNeill Windows Server Help 3 17-08-2010 10:06 PM
Cannot logon locally at the console jtpryan Small Business Server 5 23-04-2009 05:28 PM
Deny Log on Locally to some accounts through GPO Ravs Active Directory 5 11-11-2008 12:21 AM
Local Admin Account with Deny Logon Locally sergeykuz@gmail.com Windows Security 6 04-09-2008 07:17 PM
Unable to logon to Windows XP locally - No logon box Avis MediaCenter 1 12-03-2007 10:15 PM


All times are GMT +5.5. The time now is 07:20 PM.