Hi Sergey,
it looks like that. But I don't like ti change privileges (nor do I can)
I'll try a different approach instead, thanks for your assistance
Agnes
>Hi Agnes,
>
>You'll have to figure out what other permissions/privileges have to be granted to a user.
>
>>
>>no, it will not.
>>
>>I've put all together and run it as a prg
>>It prints
>>
>>Privilege SeBackupPrivilege set
>>Error code: 1314
>>
>>
>>The code creates an empty file.
>>
>>ADVAPI32.dll is version 5.1.2600.2180
>>
>>What I figured out now:
>>
The code works if I login to my computer as admin, but it should work for common users too.
>>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]