Products from Double R Solutions Services from Double R Solutions News and events from Double R Solutions Contact Double R Solutions Support Double R Solutions

General Information

PC-DCE dce_admin Tool

dce_admin - Command Line Tool for PC-DCE daemon processes administration

Description: The dce_admin tool provides a command line capability to monitor and control the PC-DCE services on a local machine. This tool provides a Unix-like interface that be integrated into batch procedures by system administrators to better manage the DCE services on PC-DCE machines.

The tool determines what PC-DCE services and daemons are running on the system and only displays or allows control of the configured items.

On machines with a lightweight client configuration (nodaemons), since there are no daemons running the tool checks and controls the state of the PC-DCE service on the machine.

Availability: Runs on PC-DCE 7.0 and 5.1.10 versions.

Requirements: Must have the proper PC-DCE runtime license to run the tool. Certain commands require administrator privilege on Windows 7, Windows Vista, Windows Server 2008, and Windows Server 2008 R2 systems.



Known Issues:
  • On PC-DCE 5.1.x installations, the tool may report dced as "Start Pending" when the status is checked after stopping the daemon. This problem has been fixed with a patch to the 5.1.10 kit that requires replacing the dce_service.exe image. Contact support to obtain the patch or click on the link on the right.

PC-DCE 7.0 Tool Download

PC-DCE 5.1 Tool Download

PC-DCE 5.1 Patch Download

Command Syntax


dce_admin.exe {switch} <command> {all} | <daemon name>

Switches
-q Quiet mode
-v Verbose mode

Commands
status Shows the configured daemon(s) status
start Starts the configured daemon or all daemons and PC-DCE Service
stop Stops the configured daemon or all daemons and PC-DCE Service
restart Restarts the configured daemon or all daemons and PC-DCE Service
help Displays the help message
show Shows the configured daemon(s) status

Where <daemon name> := dced | cdsadv | cdsd | secd | dtsd | gdad | auditd | pwst rd | nsid | nodaemons

If the daemon name is omitted, the default is all configured daemons

Tool returns 0 on success, -1 otherwise (including PC-DCE not configured)

Example Output

Checking PC-DCE Status on Machine Running DCE Servers

C:\Users\garry>dce_admin status
DCE Daemon : Running
DCE CDS Advertiser : Running
DCE Cell Directory Service : Running
DCE Security Service : Running
DCE Distributed Time Service : Running

Checking Status of a Configured Daemon

C:\Users\garry>dce_admin status dced
DCE Daemon : Running

Checking Status of a Non-Configured Daemon

C:\Users\garry>dce_admin status nsid
DCE Name Service Interface : not configured

Stopping the PC-DCE Services and Daemons (requires Admin)

From an Administrator window:

C:\Windows\system32>dce_admin stop
DCE Daemon : Stopped
DCE CDS Advertiser : Stopped
DCE Cell Directory Service : Stopped
DCE Security Service : Stopped
DCE Distributed Time Service : Stopped

From a user window:

C:\Users\garry>dce_admin stop
You must be an administrator to stop all daemons!

Starting the PC-DCE Services and Daemons (requires Admin)

From an Administrator window:

C:\Windows\system32>dce_admin start
DCE Daemon : Running
DCE CDS Advertiser : Running
DCE Cell Directory Service : Running
DCE Security Service : Running
DCE Distributed Time Service : Running

Restarting the PC-DCE Services and Daemons (requires Admin)

From an Administrator window with the verbose switch:

C:\Windows\system32>dce_admin -v restart
Restarting all PC-DCE daemons and services
Stopping all PC-DCE daemons and services
Stopped all PC-DCE daemons and services
Sleeping for 5000
Starting all PC-DCE services and daemons
Restarted all PC-DCE daemons and services
DCE Daemon : Running
DCE CDS Advertiser : Running
DCE Cell Directory Service : Running
DCE Security Service : Running
DCE Distributed Time Service : Running