• are there quotes in the name of the server?

    Maybe this?

    sp_dropserver '''ServerA; UID=DEVAccount;PWD=DEVPwd'''