Announcement

Collapse
No announcement yet.

RMPET not working in Windows 10?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ESPsupport
    replied
    MS has taken it upon themselves to prevent writing to a disk that contains the NTFS 'signature'. The way around this is a secret, that only seems to be shared with certain vendors.

    Of course, since the drive is not properly NTFS formatted, preventing it being written to seems absolutely pointless.

    If you truly can write to it from one of your Windows 10 computers it would be interesting to see what it is that changes Windows Behaviour. Is it the type of AV product? Some setting in it? Some Windows setting? UAC level?

    If you have Winhex (licensed, not free version), then it comes from one of these trusted vendors. If you use it to 'clear' the disk, RMPET will then work with the disk.

    Leave a comment:


  • rafa
    replied
    Originally posted by ipaq3115 View Post
    I don't have any antivirus running. When I try to delete the partition table I get a failure message.

    This action should just be writing to the very first sector of the card right? I have another program that also writes to the raw sectors of a drive and it gives me a similar error. The program is HxD.

    If you guys can use RMPET on Windows 10 then you're right, there must be something unique about my setup that's causing this.

    Click image for larger version

Name:	RPMET Fail.png
Views:	273
Size:	63.8 KB
ID:	60339

    Hi again,
    I am still have the same problem with RMPET in one of my Windows 10 computers. It is funny, because in the other one RMPET is working perfectly.
    Any clue about why it is working in some computers and not in others? Is RMPET sensitive to hardware capabilities e.g. SD driver....)?

    Best regards

    Leave a comment:


  • AndrewJ
    replied
    I'd like to add that I have the same issue under Windows 10 as well. In fact, RMPET doesn't even show the correct drive letter (which may explain something!) Windows 10 mounts the SD card as drive F: but RMPET reports it as drive E: It will delete and create a partition, but won't format it, reporting a write error. I've had to format under Disk Manager.

    I have used a Transcend card, 4GB as well as a Sony card, 32GB with a 4GB partition (actually, in both cases, 3.9GB) Both work with Workshop4 but not with RMPET.

    Leave a comment:


  • ESPsupport
    replied
    We have a lot of Win10 users that don't have this issue. The change that 'creates' it was in Windows 8. Since it is Microsoft that has made a change to prevent apps from issuing write sector commands in certain circumstances their is not much we can do until they document just how this change can be circumvented, and I have a feeling they will not be doing that anytime soon.

    So at the moment we need to ensure that this is the issue you are having as maybe it is another issue.

    All of our Industrial cards are now shipped partitioned and formatted correctly.

    Are you getting your cards from elsewhere? If so, what make and model are they?

    Also, check your antivirus settings to ensure it does not have 'boot sector protection' or similar turned on. Also check the logs to see if anything is being logged. What product is it?

    Leave a comment:


  • rafa
    replied
    Hi Mark,
    My problem is that RMPET is not working since my last windows 10 update. I do not want to create an alternative to RMPET, I have been forced to find it, since my customers are waiting.

    The procedure I found is working, at least after that it allows to copy the supporting files from the workshop IDE to the SD card and until now they are read in the screen without problems. But It would be nice if you could complete the procedure including extra steps for 1.the creation of the unused partition at the start and 2. how to define the maximum cluster size.

    It would be even better if RMPET could work in all conditions, so I do not have to use the alternative. It is quite annoying to be stopped by failures in tools that used to work.

    Best Regards


    Leave a comment:


  • ESPsupport
    replied
    There's a bit more to RMPET that that article might have missed

    1. There should be an unused partition at the start of the card. RMPET leaves the first 8192 sectors unused. This is because the read disturb protection of industrial grade cards does not cover the entire card, so the start needs to be offset to ensure the partition is in the protected region of the card.
    2. The maximum cluster size should be used. RMPET forces a 64kb cluster size, this gives the best performance. The default is the minimum possible size, this gives the best utilization of space, but the worst performance.

    Leave a comment:


  • rafa
    replied
    I have found a possible solution for now. Making the format to FAT16 and creating a 4GB partition, following this link to step 9. https://vmspot.com/format-fat16-usb/ . Once done that the 4D workshop assumes the SD card has the right format and not ask to format using RMPET

    Leave a comment:


  • rafa
    replied
    Hi,
    I have just updated windows 10 and I am having the same problem that ipaq3115. Write failed with the RMPET. I have been using RMPET without problems until the last update. Which is the solution then ?
    Best regards

    Leave a comment:


  • ESPsupport
    replied
    Yuk, sounds like your cards are inadvertedly ending up with a sector containing what Windows thinks is an NTFS artifact.

    Leave a comment:


  • ipaq3115
    replied
    Yeah, as I pull out new cards they work, but reformatting something that's already been messed with get's denied... at least in Windows 10. Gotta figure out where I'm going wrong. Thanks for the help!

    Leave a comment:


  • ESPsupport
    replied
    Err, yep, HxD is the program that I verified the 'Windows Feature' on.

    And if you want program that can write anywhere, and get rid of the NTFS artifacts, then WinHex can do that, but you will need the licensed version.

    Another thing that might work, although I haven't tried it, is to format using Windows and then copy a huge file to the drive. That will hopefully write over the sector that is causing the issue.

    Leave a comment:


  • ipaq3115
    replied
    I don't have any antivirus running. When I try to delete the partition table I get a failure message.

    This action should just be writing to the very first sector of the card right? I have another program that also writes to the raw sectors of a drive and it gives me a similar error. The program is HxD.

    If you guys can use RMPET on Windows 10 then you're right, there must be something unique about my setup that's causing this.

    Click image for larger version

Name:	RPMET Fail.png
Views:	273
Size:	63.8 KB
ID:	60339


    Attached Files

    Leave a comment:


  • ESPsupport
    replied
    As far as we are aware RMPET works exactly the same on Win10 as it did on previous versions.

    It is possible that your Antivirus product could be getting involved and stopping it working.

    Just what is it that appearing to not work?

    BTW, there is a hidden 'feature' that could possibly be causing issues and that is if Windows finds the remnants of an NTFS file system on a card it will not permit any writes beyond that sector regardless of admin status.

    Leave a comment:


  • ipaq3115
    started a topic RMPET not working in Windows 10?

    RMPET not working in Windows 10?

    It looks to me like Windows 10 requires some sort of additional permission (besides being run as an administrator) to be granted for the raw access necessary to partition a sd card. Have you guys looked into this at all? I'm experiencing the same thing with a utility I built to automatically format my picaso sd cards.
Working...
X