The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
I want to reformat my computer, delete my RAID setup, nuke!
As you can see from the last post, the troube came back and it's not going away. I'm done with this, so I'm nuking my computer, deleting my RAID setup and starting it up again. Now, to avoid this dumb error again, what should I do to copy my files?
First thing that comes to my mind is to format my external HDD to FAT32 and then copy everything there. From what I believe, this means that all security settings will be gone, but also, any file over 4GB will not work, right?
What to do?
Satsumomo on
0
Posts
KakodaimonosCode fondlerHelping the 1% get richerRegistered Userregular
edited January 2011
You can also not mess with the FAT32 which can cause issues with the filenames and use ICACLS after you copy the files back to set all the ACL permissions.
And I'd suggest using ROBOCOPY to copy the files to the external drive.
Make sure you know how to set up your RAID and partitions correctly before wiping. And make sure any docs you may need to read to do so are accessible on another machine.
But wouldn't using robocopy and icacls transfer all these dumb file permissions back over to my new installation?
I was running Windows 7 x64 trial or whatever it was and it was running perfectly. I formatted to the retail version, Win7 x64 Professional and I started getting those dumb errors from day 1. They happen to files located anywhere, and they're completely random.
Like I'll be downloading something from Firefox, and it won't let me copy the file anywhere, because I do not have writing permissions. Wait 10 or so minutes and I can do whatever I want.
Hmm, exe files you say? When downloading? Could be your virus scanner is scanning the file while it's in the tmp folder and somehow not releasing it so it can be moved to it's actual location or something.
Try this. Download ProcMon. Start it up, and start downloading things or whatever. Soon as you come across a file that gives you problems (or, if you can get it to repeatedly give you problems, start it up afterwards. It collects tons of data, so the less time it's running, the easier it is.) Then, just do a search and filter by that filenam and it should show you why it's failing.
Tofystedeth on
0
KakodaimonosCode fondlerHelping the 1% get richerRegistered Userregular
edited January 2011
Wait, did you reuse the user profile from the first Win 7 install in the second install? Or were they the same name? Because that can cause issues with the file permissions.
Posts
ICACLS
And I'd suggest using ROBOCOPY to copy the files to the external drive.
Make sure you know how to set up your RAID and partitions correctly before wiping. And make sure any docs you may need to read to do so are accessible on another machine.
I was running Windows 7 x64 trial or whatever it was and it was running perfectly. I formatted to the retail version, Win7 x64 Professional and I started getting those dumb errors from day 1. They happen to files located anywhere, and they're completely random.
Like I'll be downloading something from Firefox, and it won't let me copy the file anywhere, because I do not have writing permissions. Wait 10 or so minutes and I can do whatever I want.
But I don't know too much about the subject, so it could or not be.
Try this. Download ProcMon. Start it up, and start downloading things or whatever. Soon as you come across a file that gives you problems (or, if you can get it to repeatedly give you problems, start it up afterwards. It collects tons of data, so the less time it's running, the easier it is.) Then, just do a search and filter by that filenam and it should show you why it's failing.
Tofy, I will try this out. It usually doesn't let me delete exe files within folders.
Edit:
Procmon results
I created F:\TEMP\TEMP2 and copied the meatboy exe into TEMP2
I try to delete TEMP2 and immediately get a "Cannot delete" error because it's in use/I don't have permissions.
10:24:43.7982893 p.m. Explorer.EXE 1940 RegOpenKey HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths\meatboy.exe NAME NOT FOUND Desired Access: Read
10:24:43.7983412 p.m. Explorer.EXE 1940 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\meatboy.exe NAME NOT FOUND Desired Access: Read
10:24:44.3054782 p.m. Explorer.EXE 1940 QueryDirectory F:\TEMP\Temp2 SUCCESS 0: .., 1: meatboy.exe
10:24:44.3056176 p.m. Explorer.EXE 1940 CreateFile F:\TEMP\Temp2\meatboy.exe SUCCESS Desired Access: Read Attributes, Delete, Read Control, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
10:24:44.3056468 p.m. Explorer.EXE 1940 QueryAttributeTagFile F:\TEMP\Temp2\meatboy.exe SUCCESS Attributes: A, ReparseTag: 0x0
10:24:44.3056630 p.m. Explorer.EXE 1940 SetDispositionInformationFile F:\TEMP\Temp2\meatboy.exe SUCCESS Delete: True
10:24:44.3057237 p.m. Explorer.EXE 1940 SetDispositionInformationFile F:\TEMP\Temp2\meatboy.exe SUCCESS Delete: False
10:24:44.3057410 p.m. Explorer.EXE 1940 CloseFile F:\TEMP\Temp2\meatboy.exe SUCCESS
10:25:12.3970245 p.m. Explorer.EXE 1940 QueryDirectory F:\TEMP\Temp2 SUCCESS 0: ., 1: .., 2: meatboy.exe
10:25:12.4429766 p.m. Dropbox.exe 2728 QueryOpen F:\TEMP\Temp2\meatboy.exe SUCCESS CreationTime: 26/01/2011 10:23:42 p.m., LastAccessTime: 26/01/2011 10:23:42 p.m., LastWriteTime: 02/12/2010 01:17:02 p.m., ChangeTime: 26/01/2011 10:23:42 p.m., AllocationSize: 150,892,544, EndOfFile: 150,891,950, FileAttributes: A
10:25:12.4432368 p.m. Dropbox.exe 2728 QueryDirectory F:\TEMP\Temp2\meatboy.exe SUCCESS Filter: meatboy.exe, 1: meatboy.exe
10:25:12.4448916 p.m. Explorer.EXE 1940 CreateFile F:\TEMP\Temp2\meatboy.exe SUCCESS Desired Access: Read Attributes, Read Control, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
10:25:12.4449393 p.m. Explorer.EXE 1940 QuerySecurityFile F:\TEMP\Temp2\meatboy.exe SUCCESS Information: Owner, DACL
10:25:12.4449558 p.m. Explorer.EXE 1940 CloseFile F:\TEMP\Temp2\meatboy.exe SUCCESS
10:25:12.4450256 p.m. Explorer.EXE 1940 QueryOpen F:\TEMP\Temp2\meatboy.exe SUCCESS CreationTime: 26/01/2011 10:23:42 p.m., LastAccessTime: 26/01/2011 10:23:42 p.m., LastWriteTime: 02/12/2010 01:17:02 p.m., ChangeTime: 26/01/2011 10:23:42 p.m., AllocationSize: 150,892,544, EndOfFile: 150,891,950, FileAttributes: A
10:25:12.4462030 p.m. Explorer.EXE 1940 CreateFile F:\TEMP\Temp2\meatboy.exe SUCCESS Desired Access: Read Attributes, Read Control, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
10:25:12.4462283 p.m. Explorer.EXE 1940 QuerySecurityFile F:\TEMP\Temp2\meatboy.exe BUFFER OVERFLOW Information: Owner, DACL
10:25:12.4462456 p.m. Explorer.EXE 1940 QuerySecurityFile F:\TEMP\Temp2\meatboy.exe SUCCESS Information: Owner, DACL
10:25:12.4462621 p.m. Explorer.EXE 1940 CloseFile F:\TEMP\Temp2\meatboy.exe SUCCESS
10:25:12.4463302 p.m. Explorer.EXE 1940 QueryOpen F:\TEMP\Temp2\meatboy.exe SUCCESS CreationTime: 26/01/2011 10:23:42 p.m., LastAccessTime: 26/01/2011 10:23:42 p.m., LastWriteTime: 02/12/2010 01:17:02 p.m., ChangeTime: 26/01/2011 10:23:42 p.m., AllocationSize: 150,892,544, EndOfFile: 150,891,950, FileAttributes: A
10:25:12.4465907 p.m. Explorer.EXE 1940 CreateFile F:\TEMP\Temp2\meatboy.exe SUCCESS Desired Access: Read Attributes, Read Control, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
10:25:12.4466154 p.m. Explorer.EXE 1940 QuerySecurityFile F:\TEMP\Temp2\meatboy.exe BUFFER OVERFLOW Information: Owner, DACL
10:25:12.4466319 p.m. Explorer.EXE 1940 QuerySecurityFile F:\TEMP\Temp2\meatboy.exe SUCCESS Information: Owner, DACL
10:25:12.4466480 p.m. Explorer.EXE 1940 CloseFile F:\TEMP\Temp2\meatboy.exe SUCCESS
10:25:12.4469506 p.m. Explorer.EXE 1940 QueryOpen F:\TEMP\Temp2\meatboy.exe SUCCESS CreationTime: 26/01/2011 10:23:42 p.m., LastAccessTime: 26/01/2011 10:23:42 p.m., LastWriteTime: 02/12/2010 01:17:02 p.m., ChangeTime: 26/01/2011 10:23:42 p.m., AllocationSize: 150,892,544, EndOfFile: 150,891,950, FileAttributes: A
10:25:12.4469968 p.m. Explorer.EXE 1940 QueryOpen F:\TEMP\Temp2\meatboy.exe SUCCESS CreationTime: 26/01/2011 10:23:42 p.m., LastAccessTime: 26/01/2011 10:23:42 p.m., LastWriteTime: 02/12/2010 01:17:02 p.m., ChangeTime: 26/01/2011 10:23:42 p.m., AllocationSize: 150,892,544, EndOfFile: 150,891,950, FileAttributes: A
After this, I waited a few minutes, tried again and it deleted succesfully:
10:27:31.9983596 p.m. Explorer.EXE 1940 CreateFile F:\TEMP\Temp2\meatboy.exe SUCCESS Desired Access: Read Attributes, Delete, Read Control, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
10:27:31.9983897 p.m. Explorer.EXE 1940 QueryAttributeTagFile F:\TEMP\Temp2\meatboy.exe SUCCESS Attributes: A, ReparseTag: 0x0
10:27:31.9984061 p.m. Explorer.EXE 1940 SetDispositionInformationFile F:\TEMP\Temp2\meatboy.exe SUCCESS Delete: True
10:27:31.9984266 p.m. Explorer.EXE 1940 SetDispositionInformationFile F:\TEMP\Temp2\meatboy.exe SUCCESS Delete: False
10:27:31.9984439 p.m. Explorer.EXE 1940 CloseFile F:\TEMP\Temp2\meatboy.exe SUCCESS
That's all.