cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1106
Views
0
Helpful
2
Replies

Trouble deleting device from DCR using dcrcli in CiscoWorks

rcurran02
Level 1
Level 1

I am trying to delete a device from the DCR in LMS 3.2 using the dcrcli command below:

dcrcli -u dnescripting cmd=del id=5052

I am getting to following error after running that command:

<dcrcli> * Password file found using DCRCLIFILE environment variable.
Error in Delete Device:  Device is still managed by application(s).

Does anyone know how I can get around this and make the device not "management by  applications" through an option added to the dcrcli command?

Thanks Ryan.

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

Use del -f to force deletion:

dcrcli -u dnescripting cmd=del -f id=5052

that worked, thanks for your help!