-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot modify timestamp with an error in DeviceIoControl when an IDE storage is used #2
Comments
Just noticed SetMace worked on Windows 7 x64 on VMware. It indicates that an issue is likely in code locating a right driver object to send IRP. |
I did all my tests in vmware during the development and never faced such On 27 July 2016 at 07:51, Satoshi Tanda notifications@github.com wrote:
Regards, |
It appears that this issue happens when a drive is connected to IDE, and does not happen against SCSI devices. I created a VM with SCSI on VirtualBox, and SetMace was able to change a timestamp of C:\Windows. Also, a test against an IDE drive on VMware failed. I added the new drive that was backed by IDE to an existing VM on VMware, and configured the system to place pagefile.sys onto the drive so that SetMace would not dismount the drive and the driver was used. In that case, I was able to see the same error code was returned from IoCallDriver(). As for the cause, it might be in code locating file metadata or/and communicating with a device (ie, requires something in kernel code), although I do not know much about storage devices and filesystems. Any thoughts? Can I help you somehow? |
SetMace cannot modify timestamp with an error like below (log.txt).
I saw the driver printed below log entries, which seemed the same issue as one reported on the article referred on the README, except that this issue happens on both 32bit and 64bit of Windows 7 to me.
http://www.codeproject.com/Articles/28314/Reading-and-Writing-to-Raw-Disk-Sectors?msg=4081211#xx4081211xx
I am testing on VirtualBox with an elevated command prompt (admin privileges), and the same error happens regardless of what file I specify (eg. C:\test.txt).
The text was updated successfully, but these errors were encountered: