Default Device not found workaround?

So I run adb push c:/build.prop \system\ but i get denied because i cant write to \system\, but when i run adb shell -> su -> c:/build.prop \system\ i get device not found. Is there anyway i can workaround this and write my build.prop to my bricked phones?