Solved

can't setup password with sc config svc1 obj= adm1 password= pwd1

Posted on 2009-05-15
9
1,414 Views
Last Modified: 2013-11-29
I could not setup the pwd1 for service svc1 under user adm1 sc config ..... However if I use the GUI, I was able to do it.
Does anyone know the reason?
0
Comment
Question by:jl66
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 

Author Comment

by:jl66
ID: 24392879
With sc config .... the password is setup the wrong one. I crosschecked it. What should I do to correct this?
0
 
LVL 2

Assisted Solution

by:Usurpatirus
Usurpatirus earned 20 total points
ID: 24392960
may be you lost Domain?
sc config svc1 obj= ".\adm1" password= "pwd1"
0
 
LVL 70

Assisted Solution

by:Qlemo
Qlemo earned 480 total points
ID: 24393270
Does the password contain any special characters like &!% ?
0
Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

 

Author Comment

by:jl66
ID: 24396623
Thanks for info. The close real situation like this
sc config abcabcabcabcabcabc obj= aaa\abcabcabc password= xyzxyzxyz111
Only one special character / is in obj. I noticed that if the password was not set or not set right.
Any idea??
0
 
LVL 70

Assisted Solution

by:Qlemo
Qlemo earned 480 total points
ID: 24397253
You do not change the obj, do you? If so, there is a bug - the account needs to get extended privileges to be able to serve as a service account. If you set account info with GUI, that privilege is given automatically, but not with sc.

Else I cannot see any potential problem in your command.
0
 

Author Comment

by:jl66
ID: 24398651
Thanks for the update. I do need to change obj. Can we give the extended privilege to the account before doing anything? how to change it?
0
 
LVL 70

Accepted Solution

by:
Qlemo earned 480 total points
ID: 24401818
You can do this with Local Security Policy editor (and analogous for Domain and Domain Controller), or via commandline with ntrights (contained in W2003 Resouce Kit Tools, http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en).

ntrights +r SeServiceLogonRight -u aaa\abcabcabc
sc config abcabcabcabcabcabc obj= aaa\abcabcabc password= xyzxyzxyz111
0
 
LVL 70

Assisted Solution

by:Qlemo
Qlemo earned 480 total points
ID: 24401823
For available privileges and rights, see http://technet.microsoft.com/en-us/library/dd277460.aspx, as the help of ntrights does only show privileges, and no rights.
0
 

Author Closing Comment

by:jl66
ID: 31581819
Qlemo, you are excellent.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question