Seite 1 von 1

Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?

Verfasst: 29 Okt 2015, 10:00
von nicolaslebrun
Hi all !

We're trying at the moment to execute some tasks at login (using module userprofile) in the context of the "LoggedOn User".

The aim is potentially to replace logon scripts...

We want to use a section "Winbatch /RunAsLoggedOnUser" but we can't ensure it is really working as expected.... We're working on Win7 and Win10.

Any hint ? advice ? about this functionnality ...

Best regards

Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?

Verfasst: 30 Okt 2015, 16:45
von n.wenselowski
Hi,

as noted in the docs: insufficient tested on NT6 and possibly of limited effect. ;)
The releasenotes for 4.0.6 also mention that this is currently being developed and further extended.

If you could give some more information about what currently does fail I'd happily relay this to Detlef.


With kind regards

Niko

Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?

Verfasst: 06 Nov 2015, 10:38
von nicolaslebrun
Hi !

Code: Alles auswählen

Winbatch_add_printer /RunAsLoggedOnUser

[Winbatch_add_printer]
rundll32.exe printui.dll,PrintUIEntry /q /in /n\\printserver\myprinter
Doesn't work in a profileActions section... despite it works if I launch it from command line...

Has anybody have an idea to get round this problem ?

Regards,

Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?

Verfasst: 06 Nov 2015, 13:39
von n.wenselowski
Hi,

installing printer drivers?
Tricky :)
Have a look at the german section here. Seems like they posted some solutions on how to handle it.


Kind regards

Niko

Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?

Verfasst: 06 Nov 2015, 14:50
von nicolaslebrun
Hi Niko,

My problem is not really printers installation ...
Viel Danke...
Aber schade ist mein Deutch sehr schlecht...
Encore pire que mon anglais ;-)

Is there a place where i can see the code to try to understand what is done when RunAsLoggedOnUser is set ?

Regards,

Nico

Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?

Verfasst: 13 Nov 2015, 09:52
von n.wenselowski
Hi Nico,
nicolaslebrun hat geschrieben:Is there a place where i can see the code to try to understand what is done when RunAsLoggedOnUser is set ?
You'll find it in here: https://svn.opsi.org/listing.php?repname=opsi-winst


Regards

Niko