Oracle Weblogic Server (MOSC)

MOSC Banner

How do I create a Windows Service, for WebLogic, that runs as a domain user?

edited Feb 18, 2021 3:33PM in Oracle Weblogic Server (MOSC) 1 commentAnswered

I'm trying to create a Windows Service that will run as a user on the network. I know it's possible to change the 'Log On As" account to a domain user, after the service is created, but I'd like to be able to do it when initially installing the service, so it can be automated.

When calling the wlsvcX64 executable, and passing in a domain account for the acctname parameter, it fails with "CreateService failed - The account name is invalid or does not exist, or the password is invalid for the account name specified. (0x421)"

The call I'm making is the following (paths and passwords changed to protect the innocent):

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center