Windows Error Code: 87

Get help for specific problems
Posts: 6
Joined: 30 Jan 2005

cheatmaster

I was looking for a tool to synchronize user files and profiles reliably, and
especialy in comparison to ms sync toy, I am thrilled by FreeFileSync: Simply
sync %userprofile% with \\Server\Profiles\%username% and go, no other tool I
have tried can do that, great job!

But unfortunatly I get the following error message when it tries to copy the
user registry (server and user names changed):


Fehler beim Kopieren der Datei:
"\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\Dokumente und Einstellungen\username\ntuser.dat" ->
"\\server\Profiles\username\ntuser.dat"

Windows Error Code 87: Falscher Parameter.
Posts: 6
Joined: 30 Jan 2005

cheatmaster

I just noticed that the file is synchronized fine if I ignore the message, so
it is actualy a minor issue.
Posts: 6
Joined: 30 Jan 2005

cheatmaster

Oh, and one more thing I noticed: In the batch configuration, environment
variables are not parsed for the location of the logfile.
User avatar
Site Admin
Posts: 7040
Joined: 9 Dec 2007

Zenju

About "Windows Error Code 87: Falscher Parameter.":
The Windows API complains about being used incorrectly. Could you tell me what
operating system your are using exactly?

> environment variables are not parsed for the location of the logfile.
Consider this fixed for v3.3!

> I just noticed that the file is synchronized fine if I ignore the message,
How can this be? If copying fails "ntuser.dat" is never created in target
directory, is it?

Regards, Zenju
Posts: 6
Joined: 30 Jan 2005

cheatmaster

I'm using Windows XP SP2 (I consider upgrading to SP3, but I want to use it on
several PCs, that would take time)

It seems it wasn't the copying that failed, I don't know what caused the error
message...
User avatar
Site Admin
Posts: 7040
Joined: 9 Dec 2007

Zenju

Are you using the newest release v3.2? With v3.2 it first copies the file to a
temporary, in this case "ntuser.dat.ffs_tmp" and ONLY if this succeeded it is
renamed to "ntuser.dat".

Would be interesting if you could reproduce the error with v3.2. And, if you
can, if it leaves a *.ffs_tmp file behind.
Posts: 6
Joined: 30 Jan 2005

cheatmaster

I'm using 3.2, just downloaded it yesterday.
Unfortunately I cannot reproduce the error, all files including ntuser.dat
were copied without error today.
But I could verify that the file was copied correctly yesterday, so the error
must have occured somewhere else?

I'm sorry if this doesn't help you finding the error, I know those kind of
problems can be a real pain ;)
Fortunately that means the tool works really fine for me!

Just one more idea: I was thinking about running the tool in the logoff
script, but for the batch jobs I only have the choice between silent or not,
It would be cool to have a mode where the user can see the progress, but which
terminates after the synchronisation. In the non-silent mode the user must
click OK to quit the tool.
User avatar
Site Admin
Posts: 7040
Joined: 9 Dec 2007

Zenju

>It would be cool to have a mode where the user can see the progress
Then watch out for v3.3! :) I've included a visual progress indicator to the
systray icon.

>I'm sorry if this doesn't help you finding the error
Are you sure, you didn't run the sync twice? For example that the first sync
failed with the error message you posted above, but a second sync copied the
file correctly? Else I cannot logically explain this behavior because as I
said above, if copying fails "ntuser.dat" is never created. Despite that the
error message is talking about "ntuser.dat" at this point it truly is working
on a temporary, so not even a write attempt for "ntuser.dat" has been made.
Posts: 6
Joined: 30 Jan 2005

cheatmaster

>Then watch out for v3.3! :) I've included a visual progress indicator to the
systray icon.
In the logoff-script, the tray is no longer visible, so that doesn't help in
this special case.

>Are you sure, you didn't run the sync twice?
Before the second sync I did another compare, and the file was not included
then, that's how I noticed the copy was ok.
User avatar
Site Admin
Posts: 7040
Joined: 9 Dec 2007

Zenju

Right, during logoff there's not systray. Unfortunately I don't have a
solution for this.