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
Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?
-
- Beiträge: 112
- Registriert: 18 Apr 2011, 11:43
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?
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
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
Code: Alles auswählen
import OPSI
-
- Beiträge: 112
- Registriert: 18 Apr 2011, 11:43
Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?
Hi !
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,
Code: Alles auswählen
Winbatch_add_printer /RunAsLoggedOnUser
[Winbatch_add_printer]
rundll32.exe printui.dll,PrintUIEntry /q /in /n\\printserver\myprinter
Has anybody have an idea to get round this problem ?
Regards,
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?
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
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
Code: Alles auswählen
import OPSI
-
- Beiträge: 112
- Registriert: 18 Apr 2011, 11:43
Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?
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
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
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Does "Winbatch /RunAsLoggedOnUser" work properly on 4.06 ?
Hi Nico,
Regards
Niko
You'll find it in here: https://svn.opsi.org/listing.php?repname=opsi-winstnicolaslebrun hat geschrieben:Is there a place where i can see the code to try to understand what is done when RunAsLoggedOnUser is set ?
Regards
Niko
Code: Alles auswählen
import OPSI