Jump to content

Recommended Posts

Posted

Hi

 

We have a few Windows Server 2008 Termainal servers.

 

When i user tries to connect it defualts as logging onto the local machine and not the domain. This means the user has to click ok then type domainame/username.

 

I have tried using policy settings to do this and it didn't work.

 

How do i force it to default onto the domain and not the local machine please?

 

Thanks

 

Z

Posted

This happens occasionally. Thanks to ChrisH, I have a script that recitifes it :D

 

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"

  • 2 weeks later...
Posted

start

run

gpedit.msc

 

computer configuration/ administrative templates/system/logon

assign default domain.

 

This works fine unless you try to log on with a domain account that has the same account name as a local user account on that server.

For example on my 2008 ts server this works fine unless you try to logon with the administrator account then it changes to the local machine.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...