Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

login script not running...

1 view
Skip to first unread message

Brad Pears

unread,
Nov 4, 2004, 10:34:16 AM11/4/04
to
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 Jenkin [SBS-MVP]

unread,
Nov 5, 2004, 4:39:14 AM11/5/04
to
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:

--
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


Barryfee

unread,
Feb 16, 2005, 12:31:01 PM2/16/05
to
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

Henry Craven [SBS-MVP]

unread,
Feb 16, 2005, 3:53:57 PM2/16/05
to
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" <Barr...@discussions.microsoft.com> wrote in message
news:9409D443-8940-45A6...@microsoft.com...

Henry Craven [SBS-MVP]

unread,
Feb 16, 2005, 3:57:14 PM2/16/05
to
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" <Barr...@discussions.microsoft.com> wrote in message
news:9409D443-8940-45A6...@microsoft.com...

0 new messages