|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Changing passwords from the command lineI have tried changing user passwords on a domain using both net user
[username] [password] and dsmod [userdn] [password] and both times I get access is denied. The account that I am logged into is a copy of the Administrator account. If I log in using the Administrator account the commands work perfectly but any other account regardless of permissions seem to get the access is denied message. Have I missed some privilege or permission that is not copied when using the copy function in the ADS mmc panel? Any help would be appreciated. Hello,
Are you trying this on the DC or from the client ?? Did u tried the same thing with Active Directory Users and Computers ?? Syed Khairuddin wrote:
> Hello, Yes on the DC and as long as I am signed in as administrator I can do > > Are you trying this on the DC or from the client ?? Did u tried > the same thing with Active Directory Users and Computers ?? > all the changes even from Active Directory Users and Computers. The problem is doing it from a copied administrator account. VGE wrote:
> Syed Khairuddin wrote: Start the command prompt with a runas administrator.>> Hello, >> >> Are you trying this on the DC or from the client ?? Did u >> tried the same thing with Active Directory Users and Computers ?? >> > Yes on the DC and as long as I am signed in as administrator I can do > all the changes even from Active Directory Users and Computers. The > problem is doing it from a copied administrator account. -- /kj That would be fine if I was not incorporating it into a .NET App that
executes the commands through an SSH shell. kj [SBS MVP] wrote: Show quoteHide quote > VGE wrote: >> Syed Khairuddin wrote: >>> Hello, >>> >>> Are you trying this on the DC or from the client ?? Did u >>> tried the same thing with Active Directory Users and Computers ?? >>> >> Yes on the DC and as long as I am signed in as administrator I can do >> all the changes even from Active Directory Users and Computers. The >> problem is doing it from a copied administrator account. > > Start the command prompt with a runas administrator. > Please include the command you are attempting to use. Just change the name
and password so as not to expose and internal information. -- Show quoteHide quotePaul Bergson MVP - Directory Services MCTS, MCT, MCSE, MCSA, Security+, BS CSci 2008, 2003, 2000 (Early Achiever), NT4 Microsoft's Thrive IT Pro of the Month - June 2009 http://www.pbbergs.com Please no e-mails, any questions should be posted in the NewsGroup This posting is provided "AS IS" with no warranties, and confers no rights. "VGE" <msvge@community.nospam> wrote in message news:%23bDTmRBAKHA.4432@TK2MSFTNGP02.phx.gbl... >I have tried changing user passwords on a domain using both net user >[username] [password] and dsmod [userdn] [password] and both times I get >access is denied. The account that I am logged into is a copy of the >Administrator account. If I log in using the Administrator account the >commands work perfectly but any other account regardless of permissions >seem to get the access is denied message. Have I missed some privilege or >permission that is not copied when using the copy function in the ADS mmc >panel? Any help would be appreciated. Paul Bergson [MVP-DS] wrote:
> Please include the command you are attempting to use. Just change the name I've tried:> and password so as not to expose and internal information. > net user TestU ResetPass123! /domain And: dsmod "CN=Test User,OU=Users,DC=Domain,DC=com" -pwd ResetPass123!
Migrate users from Existing Windows 2003 Domain to new 2008 Domain
DNS zone disappered Secondary (backup) domain controller not working ? Domain root MX records do not work with DNS STUB zones Group policy tatooing with restricted group ? or strange behaviour ! Group Policy Issues - URGENT Upgrading AD 2003 to AD 2008 In-Place How do I connect a new AD account to a new email address Merge local user and domain user Server under NO LOAD -> ok for days ... eventually gets slow... |
|||||||||||||||||||||||