[Samba] simple logon script and different results

lejeczek
2015-01-08T11:44:38Z

Denis, users/permission I thing are correct.
I see this is most probably UAC.
Is there a way to have it work without disabling UAC?

On 07/01/15 16:40, Denis BUCHER wrote:
>
> Hello,
>
>
> Are you using the same user on both clients ?
>
> Is the user Local Administrator on any or all of the clients ?
>
> Maybe is the user on on computer admin and not on the other...
>
> Otherwise said do you have the same error if you do it
> manually once logged in?
>
> Denis
>
> Le 06.01.2015 11:27, lejeczek a ?crit :
>
>> hi everybody
>>
>> this is probably something on client (win7 sp1) end, so I hope.
>> In my very simple logon.bat I have:
>>
>> xcopy %LOGONSERVER%\netlogon\nsclient.ini
>> "%ProgramFiles%\NSClient++\nsclient.ini" /y /q
>> xcopy /y %LOGONSERVER%\netlogon\nagiosNetinfo.vbs
>> "%ProgramFiles%\NSClient++\scripts\nagiosNetinfo.vbs" /q /i
>>
>> and one client executes it fine whereas the other fails with
>> "access denied" and files don't get copied.
>> On both clients target files already exist and I try to
>> overwrite.
>> What should I check?
>>
>> thanks
>> P
>