cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
803
Views
0
Helpful
2
Replies
Highlighted
Beginner

Trouble deleting device from DCR using dcrcli in CiscoWorks

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
Highlighted
Hall of Fame Cisco Employee

Use del -f to force deletion:

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

that worked, thanks for your help!

Content for Community-Ad
This widget could not be displayed.