'adb backup -apk -shared -all -f "D:\backup.ab' initiates backup, completes, but produces a file that is only 1kb
Try with more parameters, like:

adb backup -all -apk -obb -shared -nosystem -f "yourFile.ab"

*Unless you have a rooted phone I don't recommend -system, use -nosystem instead.