?
Solved

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

Posted on 2009-05-15
9
Medium Priority
?
1,418 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 80 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 1920 total points
ID: 24393270
Does the password contain any special characters like &!% ?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 1920 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 1920 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 1920 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

765 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