+ Post New Thread
Results 1 to 8 of 8
Windows Thread, Setting "log on to" automatically in Technical; I have just set up a terminal server and it is running great The only issue i have is that ...
  1. #1
    Mr_M_Cox's Avatar
    Join Date
    May 2007
    Location
    Portsmouth
    Posts
    155
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Setting "log on to" automatically

    I have just set up a terminal server and it is running great
    The only issue i have is that when a user gets to the terminal log in box it auto pick the local machine not the domain.

    Is there a policy to set this.

    also, whilst i am here, on a side point.

    When a user goes to http:\\ip address\tsweb and you get the default remote desktop screen asking for a server name, can i get it to auto show the name of our termial server. I have tried editing the html file but cant add text to the box.

    hope all that makes sense

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Boston, MA
    Posts
    7,601
    Thank Post
    110
    Thanked 771 Times in 599 Posts
    Rep Power
    183
    ChrisH gave me the following VBScript that does the job:

    Code:
    Option Explicit
    Dim ws
    Set ws = WScript.CreateObject("WScript.Shell")
     
    Dim strKeyPath
    strKeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\"
    ws.RegWrite strKeyPath & "DefaultDomainName", "MYDOMAIN", "REG_SZ"
    ws.RegWrite strKeyPath & "AltDefaultDomainName", "MYDOMAIN", "REG_SZ"
    ws.RegWrite strKeyPath & "CachePrimaryDomain", "MYDOMAIN", "REG_SZ"

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,373
    Thank Post
    906
    Thanked 1,811 Times in 1,559 Posts
    Blog Entries
    12
    Rep Power
    468
    What version if Terminal Server is it? If it is 2008 there is a group policy for this.

    Z

  4. #4
    Mr_M_Cox's Avatar
    Join Date
    May 2007
    Location
    Portsmouth
    Posts
    155
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    no , unfortunatly I am not able to use 2008 yet, the powers that be say no! running 2003

    I am now wanting to do two things, one set the domain as default not the local machine in the log on to box but also and now more importantly edit the default page of tsweb.

    I have looked around google and it seems more than doable , I just wanna edit it to include the server name

    this is ment to do it but where do i type in the server name
    RE: how to modify the TSWEB default.htm to do ...

    please help

  5. #5

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,271
    Thank Post
    884
    Thanked 2,749 Times in 2,322 Posts
    Blog Entries
    11
    Rep Power
    785
    Have a look here:
    Setting default domain at end of RIS install
    for a GPO object that may work with 2003, I think it is designed for XP but it is highly likely that the registry keys in question are the same.

  6. #6

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,271
    Thank Post
    884
    Thanked 2,749 Times in 2,322 Posts
    Blog Entries
    11
    Rep Power
    785
    Quote Originally Posted by Mr_M_Cox View Post
    I have looked around google and it seems more than doable , I just wanna edit it to include the server name

    this is ment to do it but where do i type in the server name
    RE: how to modify the TSWEB default.htm to do ...

    please help
    Looks like the server name or wan ip needs to be entered here:
    Code:
    sub BtnConnect
       Dim serverName
       'server
       if not Document.all.Server.value = "" then
          serverName = Document.all.Server.value
       else
          'serverName = Document.location.hostname
        serverName = "WAN_IP_Address_Here"
       end if
    In the modified Default.asp page

  7. #7
    tarquel's Avatar
    Join Date
    Jun 2005
    Location
    Powys, Mid-Wales, UK
    Posts
    1,740
    Thank Post
    13
    Thanked 45 Times in 35 Posts
    Rep Power
    30
    "or a GPO object that may work with 2003, I think it is designed for XP but it is highly likely that the registry keys in question are the same."

    Quite true. I had it running great on a 2003 Server Setup with XP clients.

    Thanks for reminding me of that... i might make use of it here

  8. #8
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    112
    You can also use a simple registry entry

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
    "AltDefaultUserName"=""
    "AltDefaultDomainName"="MYDOMAIN"
    "DefaultUserName"=""
    "DefaultDomainName"="MYDOMAIN"



SHARE:
+ Post New Thread

Similar Threads

  1. How can I remove "Setting up Personalized Settings" on login
    By ninjabeaver in forum How do you do....it?
    Replies: 14
    Last Post: 15th October 2011, 03:40 AM
  2. IIS - "eclipse" automatically goes to \\server\eclipse\index.jsp
    By burgemaster in forum Wireless Networks
    Replies: 6
    Last Post: 4th May 2008, 02:34 AM
  3. "Error 403" & "Moved to here" message
    By tech_guy in forum Windows
    Replies: 4
    Last Post: 24th January 2008, 02:07 PM
  4. Replies: 7
    Last Post: 2nd November 2006, 02:42 PM
  5. Replies: 6
    Last Post: 28th September 2006, 08:06 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •