Re: start program on connection profile loading?



No. You cannot logon without loading a profile.
What is it that you really want to accomplish? Why do you want to
prevent loading a profile?
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?Qlc=?= <BW@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote on 06 okt
2007 in microsoft.public.windows.terminal_services:

thanks for advice. is there a way to prevent profiles from
loading and just run desired app?

"TP" wrote:

Hi Benny,

I would *strongly* recommend against removing userinit.exe
from the registry. It will break logons from both the console
and via TS, whether a starting program is specified or not.

Depending on if the machine has firewall enabled or has
various non-TS remote functions locked down you may need
to boot to a recovery environment to recover from the change.
Safe mode and last known good will not work. Likewise I
am not sure that a repair install will fix the issue either.

This one small registry change could lead to many hours of
troubleshooting and possibly a complete reinstall/restore
depending on how knowledgable the tech is.

-TP

Benny Tritsch [MVP] wrote:
Yes, the profile is still loaded even if only one program is
started. Userinit.exe is responsible for this. You can search
for Userinit.exe in the Registry and remove the execution on
user logon, but this is not recommended because Userinit does
some initialization besides loading the profile.

Benny
.



Relevant Pages

  • Re: here is just my error log from xp
    ... > blocked from loading. ... > DETAIL - An I/O operation initiated by the registry failed unrecoverably. ... > or a corrupt local profile. ... > Friday, March 18, 2005 TrueVector Service TrueVector engine: ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: slow logon in terminal
    ... The roaming profile are about 12gb, ... In the application registry I've userenv warning 1517 with this description ... I understand that the logon itself (authentication and verification ... MCSE, CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)
  • Re: start program on connection profile loading?
    ... But even with published applications, the profile must be loaded. ... If you experience long logon times because of profile load times, ... from the registry. ...
    (microsoft.public.windows.terminal_services)
  • Re: Logon to Domain
    ... In fact it takes much longer for a new profile doing loading your ... It gets quicker when the user logs on second time and then on. ... generally can this process of loading your personal ... > Create a new profile and logon.. ...
    (microsoft.public.windowsxp.basics)
  • Old profile keeps coiming back
    ... I have a user who will sometimes logon and end up loading an old profile. ... have removed the profile from the local workstation. ...
    (microsoft.public.windows.server.active_directory)

Loading