Jump to content

URGENT: sc sdset myservice - now I locked myself out ... "SC OpenS


Recommended Posts

Posted

Hello,

 

I tried to change a services DACL on Windows 2003 .... now I locked myself

out of the service because the DACL was reset.

 

Now when I use: "sc sdshow tomcatform" I get the following output:

[sC] OpenService FAILED 5:

Access is denied.

 

I'm not able able to start stop the service as I get "access denied" ...

 

Whatever I try I'm not able to reset the DACL to the default as I keep

getting "access denied" messages. I tried to do the following without success:

http://support.microsoft.com/kb/926639/?sd=RMVP&fr=1

 

Can someone tell me how can I restore the default DACL on this service?

 

Thank you very much!!!!

Didier

  • Replies 4
  • Created
  • Last Reply
Guest VanguardLH
Posted

Didier wrote:

<span style="color:blue">

> I got it ... sorry for the noise!</span>

 

Is it a secret?

Posted

Re: URGENT: sc sdset myservice - now I locked myself out ... "SC O

 

Ok course not ... ;-) sorry!

 

I tried so many sc combinations and I was so in hurry that I didn't noticed

where the real problem was. I was logged on via rdp on the server and I was

not able to get an interactive cmd via the remote desktop client.

When I logged on to the physical console and used "at XX:XX /interactive

cmd" it worked and finally I was able to fix it with the "sc sdset ..."

commands.

 

"VanguardLH" wrote:

<span style="color:blue">

> Didier wrote:

> <span style="color:green">

> > I got it ... sorry for the noise!</span>

>

> Is it a secret?

> </span>

Guest VanguardLH
Posted

Re: URGENT: sc sdset myservice - now I locked myself out ... "SC O

 

Didier wrote:

<span style="color:blue">

> Ok course not ... ;-) sorry!

>

> I tried so many sc combinations and I was so in hurry that I didn't noticed

> where the real problem was. I was logged on via rdp on the server and I was

> not able to get an interactive cmd via the remote desktop client.

> When I logged on to the physical console and used "at XX:XX /interactive

> cmd" it worked and finally I was able to fix it with the "sc sdset ..."

> commands.

>

> "VanguardLH" wrote:

> <span style="color:green">

>> Didier wrote:

>> <span style="color:darkred">

>>> I got it ... sorry for the noise!</span>

>>

>> Is it a secret?

>></span></span>

 

Ah, sometimes I, too, have had to go to the console to do something

direct on the host. I've even had to do that when a particular key

combo won't work remotely (i.e., I had to use the console's keyboard,

like for a Sun host).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...