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. Known Issues:
|
|
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