I just followed these directions for my Droid Razr M and it worked just fine. I did have to install the Motorola drivers first, but follow the directions closely and you should be able to root.
System Version: 98.18.94.XT109
Android Version 4.1.2
PC: Surface Pro running Windows 8.1