[Samba] simple logon script and different results

L.P.H. van Belle belle at bazuin.nl
Thu Jan 8 04:53:17 MST 2015


Hai, 

You can try to deploy a GPO setting which creates a Task in windows.
If you set the owner/running user of that that to an administrator account,
you should be able to do this without disabeling UAC. 

you can try to run it as : 
%computername%\Administrator 
or
NT AUTHORITY\SYSTEM


screenhost howto set this.
http://community.spiceworks.com/shared/post/0000/4497/ninite.jpg


Greetz, 

Louis

>-----Oorspronkelijk bericht-----
>Van: peljasz at yahoo.co.uk 
>[mailto:samba-bounces at lists.samba.org] Namens lejeczek
>Verzonden: donderdag 8 januari 2015 12:45
>Aan: Denis BUCHER; samba at lists.samba.org
>Onderwerp: Re: [Samba] simple logon script and different results
>
>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
>>
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>



More information about the samba mailing list