In our user "profile" AD settings I am running a login script for all users.
When they logon to the domain using a terminal services session, this is not
being run. Why would that be? Where would I place a script so that it will
run anytime a user logs into the domain - regardless of whether or not it
is a terminal server session they are running?

Thanks,

Brad

Re: login script not running... by Michael

Michael
Fri Nov 05 03:39:14 CST 2004

Hello,

You can run Scripts in either of two places.
A group policy or through the AD interface in the profile section (as
you have done). I prefer the second.

http://support.microsoft.com/?kbid=320043#62

I have not seen an issue where the Terminal server session does not run
the script. is it a batch file or Windows Script ?

I have seen a network where the script did not run at all (Terminal or
local) and this was a DNS error.

Is your script in the right folder on the server ?

Thanks



Brad Pears wrote:

> In our user "profile" AD settings I am running a login script for all users.
> When they logon to the domain using a terminal services session, this is not
> being run. Why would that be? Where would I place a script so that it will
> run anytime a user logs into the domain - regardless of whether or not it
> is a terminal server session they are running?
>
> Thanks,
>
> Brad
>
>

--
Michael J. Jenkin MVP - SBS, Senior Systems Engineer
Visit http://www.mickyj.com

Microsoft Most Valued Professional, Microsoft's Windows Server Systems -
Small Business Server
MVP's do not work for Microsoft. If this email was generated in a
newsgroup, please reply only to the newsgroup.
Note: The contents of my postings and responses here represent my
personal opinions and do not necessarily reflect the views, thoughts or
feelings of Microsoft or any of its employees.
http://mvp.support.microsoft.com



Re: login script not running... by Barryfee

Barryfee
Wed Feb 16 11:31:01 CST 2005

Hi Michael

I have a proble with my scripts not running, I have setup a simple net use
line that should map my users to a shared directory on the server called
customers shared fles but it does not work.

This is the script

net use H:\\myservername\customer support files
net use /persistent:yes

Any idea why this has not worked, it is called login.bat and resides in the
standard sysvol\domainname\scripts directory (may not have typed the full
address correctly but the standard script director on SBS2003)

Thanks in advance

Barry Fee

"Michael Jenkin [SBS-MVP]" wrote:

> Hello,
>
> You can run Scripts in either of two places.
> A group policy or through the AD interface in the profile section (as
> you have done). I prefer the second.
>
> http://support.microsoft.com/?kbid=320043#62
>
> I have not seen an issue where the Terminal server session does not run
> the script. is it a batch file or Windows Script ?
>
> I have seen a network where the script did not run at all (Terminal or
> local) and this was a DNS error.
>
> Is your script in the right folder on the server ?
>
> Thanks
>
>
>
> Brad Pears wrote:
>
> > In our user "profile" AD settings I am running a login script for all users.
> > When they logon to the domain using a terminal services session, this is not
> > being run. Why would that be? Where would I place a script so that it will
> > run anytime a user logs into the domain - regardless of whether or not it
> > is a terminal server session they are running?
> >
> > Thanks,
> >
> > Brad
> >
> >
>
> --
> Michael J. Jenkin MVP - SBS, Senior Systems Engineer
> Visit http://www.mickyj.com
>
> Microsoft Most Valued Professional, Microsoft's Windows Server Systems -
> Small Business Server
> MVP's do not work for Microsoft. If this email was generated in a
> newsgroup, please reply only to the newsgroup.
> Note: The contents of my postings and responses here represent my
> personal opinions and do not necessarily reflect the views, thoughts or
> feelings of Microsoft or any of its employees.
> http://mvp.support.microsoft.com
>
>
>

Re: login script not running... by Henry

Henry
Wed Feb 16 14:53:57 CST 2005

net use H: "\\myservername\customer support files"
net use /persistent:yes

Add a space between the Drive Letter and Path and Quotes around the Path
if it contains spaces.

--
Henry Craven {SBS-MVP}
CI Information Technology
----------------------------------------------------
Melbourne SBS Users Group
http://groups.yahoo.com/group/melb-SBSusers/

"Barryfee" <Barryfee@discussions.microsoft.com> wrote in message
news:9409D443-8940-45A6-9C71-348C34A53B61@microsoft.com...
> Hi Michael
>
> I have a proble with my scripts not running, I have setup a simple net
> use
> line that should map my users to a shared directory on the server
> called
> customers shared fles but it does not work.
>
> This is the script
>
> net use H:\\myservername\customer support files
> net use /persistent:yes
>
> Any idea why this has not worked, it is called login.bat and resides
> in the
> standard sysvol\domainname\scripts directory (may not have typed the
> full
> address correctly but the standard script director on SBS2003)
>
> Thanks in advance
>
> Barry Fee
>
> "Michael Jenkin [SBS-MVP]" wrote:
>
>> Hello,
>>
>> You can run Scripts in either of two places.
>> A group policy or through the AD interface in the profile section (as
>> you have done). I prefer the second.
>>
>> http://support.microsoft.com/?kbid=320043#62
>>
>> I have not seen an issue where the Terminal server session does not
>> run
>> the script. is it a batch file or Windows Script ?
>>
>> I have seen a network where the script did not run at all (Terminal
>> or
>> local) and this was a DNS error.
>>
>> Is your script in the right folder on the server ?
>>
>> Thanks
>>
>>
>>
>> Brad Pears wrote:
>>
>> > In our user "profile" AD settings I am running a login script for
>> > all users.
>> > When they logon to the domain using a terminal services session,
>> > this is not
>> > being run. Why would that be? Where would I place a script so that
>> > it will
>> > run anytime a user logs into the domain - regardless of whether or
>> > not it
>> > is a terminal server session they are running?
>> >
>> > Thanks,
>> >
>> > Brad
>> >
>> >
>>
>> --
>> Michael J. Jenkin MVP - SBS, Senior Systems Engineer
>> Visit http://www.mickyj.com
>>
>> Microsoft Most Valued Professional, Microsoft's Windows Server
>> Systems -
>> Small Business Server
>> MVP's do not work for Microsoft. If this email was generated in a
>> newsgroup, please reply only to the newsgroup.
>> Note: The contents of my postings and responses here represent my
>> personal opinions and do not necessarily reflect the views, thoughts
>> or
>> feelings of Microsoft or any of its employees.
>> http://mvp.support.microsoft.com
>>
>>
>>



Re: login script not running... by Henry

Henry
Wed Feb 16 14:57:14 CST 2005

If you're mapping the users Home Folder on their User Share, you can do
that in ADUC on their properties > profile tab.

--
Henry Craven {SBS-MVP}
CI Information Technology
----------------------------------------------------
Melbourne SBS Users Group
http://groups.yahoo.com/group/melb-SBSusers/

"Barryfee" <Barryfee@discussions.microsoft.com> wrote in message
news:9409D443-8940-45A6-9C71-348C34A53B61@microsoft.com...
> Hi Michael
>
> I have a proble with my scripts not running, I have setup a simple net
> use
> line that should map my users to a shared directory on the server
> called
> customers shared fles but it does not work.
>
> This is the script
>
> net use H:\\myservername\customer support files
> net use /persistent:yes
>
> Any idea why this has not worked, it is called login.bat and resides
> in the
> standard sysvol\domainname\scripts directory (may not have typed the
> full
> address correctly but the standard script director on SBS2003)
>
> Thanks in advance
>
> Barry Fee
>
> "Michael Jenkin [SBS-MVP]" wrote:
>
>> Hello,
>>
>> You can run Scripts in either of two places.
>> A group policy or through the AD interface in the profile section (as
>> you have done). I prefer the second.
>>
>> http://support.microsoft.com/?kbid=320043#62
>>
>> I have not seen an issue where the Terminal server session does not
>> run
>> the script. is it a batch file or Windows Script ?
>>
>> I have seen a network where the script did not run at all (Terminal
>> or
>> local) and this was a DNS error.
>>
>> Is your script in the right folder on the server ?
>>
>> Thanks
>>
>>
>>
>> Brad Pears wrote:
>>
>> > In our user "profile" AD settings I am running a login script for
>> > all users.
>> > When they logon to the domain using a terminal services session,
>> > this is not
>> > being run. Why would that be? Where would I place a script so that
>> > it will
>> > run anytime a user logs into the domain - regardless of whether or
>> > not it
>> > is a terminal server session they are running?
>> >
>> > Thanks,
>> >
>> > Brad
>> >
>> >
>>
>> --
>> Michael J. Jenkin MVP - SBS, Senior Systems Engineer
>> Visit http://www.mickyj.com
>>
>> Microsoft Most Valued Professional, Microsoft's Windows Server
>> Systems -
>> Small Business Server
>> MVP's do not work for Microsoft. If this email was generated in a
>> newsgroup, please reply only to the newsgroup.
>> Note: The contents of my postings and responses here represent my
>> personal opinions and do not necessarily reflect the views, thoughts
>> or
>> feelings of Microsoft or any of its employees.
>> http://mvp.support.microsoft.com
>>
>>
>>