Login scripts
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Login scripts

 
Post new topic   Reply to topic    Windows Server Forum Index -> Migration
Author Message
sby
Guest





Posted: Mon Jan 10, 2005 10:41 pm    Post subject: Login scripts Reply with quote

Hi

I am migtrating a win2k domain over to a win2k3 domain and have come across
a problem. In a transitional period I want to migrate the users over to the
new domain and leave the data in the old one. Everything is fine except I
have a problem with the login scripts.

I have a login script that I am testing which is a VBS file. All this file
does is map a drive from the win2k domain. the file is in the sysvol on the
win2k3 DC.It is set to run on startup through a GPO. When a domain user in
the win2k3 domain logs on is comes up with an access denied, but when I make
the same account Domain admins it works perfectly, so this to me suggests a
rights problem, but I don't know where.

Can anybody help or suggest a different way of doing this.

Thanks


SBY
Back to top
Frances [MSFT]
Guest





Posted: Tue Jan 11, 2005 12:57 pm    Post subject: RE: Login scripts Reply with quote

Hi,

According to your description, I suggest you follow the steps below to
narrow down the problem.

Step 1:
==========
What is the result if you manually map the driver on the client machine?

Step 2:
==========
Use UNC, such as \\192.168.0.1 in Run box to access the shares in the
win2k domain.
Note: 192.168.0.1 is the file server's IP address.

If the same error occurs when you visit the shares by using UNC, please
help me gather the following information:

Question 1:
==============
Do you keep the SID history when migrating users and groups?
Generally, we will keep the SID history to access resources in the old
domain.

Question 2:
===============
Are the permissions on the shares in Win2k domain granted to users or
groups?
If you grant a group, which has the user accounts, the permission to access
the resource, after you migrate the user to the new domain, they are not
part of the old group, so they lost the permission to access the resource.
Please check the share permission and NTFS permission of the resource and
let me know if you grant the permission to the user directly.

If this is the issue, we need to re-ACL the resources.

This information is necessary for us to troubleshoot the issue.

I look forward for your reply.


Best regards,

Frances He


Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Back to top
sby
Guest





Posted: Tue Jan 11, 2005 6:19 pm    Post subject: RE: Login scripts Reply with quote

"Frances [MSFT]" wrote:

Quote:
Hi,

According to your description, I suggest you follow the steps below to
narrow down the problem.

Step 1:
==========
What is the result if you manually map the driver on the client machine?

Step 2:
==========
Use UNC, such as \\192.168.0.1 in Run box to access the shares in the
win2k domain.
Note: 192.168.0.1 is the file server's IP address.

If the same error occurs when you visit the shares by using UNC, please
help me gather the following information:

Question 1:
==============
Do you keep the SID history when migrating users and groups?
Generally, we will keep the SID history to access resources in the old
domain.

Question 2:
===============
Are the permissions on the shares in Win2k domain granted to users or
groups?
If you grant a group, which has the user accounts, the permission to access
the resource, after you migrate the user to the new domain, they are not
part of the old group, so they lost the permission to access the resource.
Please check the share permission and NTFS permission of the resource and
let me know if you grant the permission to the user directly.

If this is the issue, we need to re-ACL the resources.

This information is necessary for us to troubleshoot the issue.

I look forward for your reply.


Best regards,

Frances He


Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



Thanks for your reply.

To answer your questions,

Step1 -- If you try as the user is gives a msg " access denied", but if you
put the user in the Domain Admins group it works fine.

Step2 --It gives the same msg if you use the ip address.


Question1 --- No, SID history was not migrated to uses and groups. I have
used the subinacl cmd util to migrate the folder rights and everything is
fine. When I try to use the Security Transalation Wizard, I get err/msg about
the TcpipClientsupport reg key not set to 1, The registry key was not on the
PDC in the source domain, but even when I add it and restart I get the same
msg. I was concerned that if I used it I might have to translate all the
folders on the server, thus making users on the Win2k domain unable to access
them. Am I get confussed here?
I need in the interim to have the data on the win2k server available and
accessible to users on the Win2k domain and the users I have migrated to the
Win2k3 Domain for a short while, as I have 1000's of users to migrate over.


Question 2-- Yes the ntfs permissions on the folders are by groups ( ie:
domain users and some I have created). I do not grant access to user accounts
as this tends to causes massive admin problems with alot of users.

Any help will be appreciated, and any further info required please let me
know.

Many thanks

SBY
Quote:

Back to top
Frances [MSFT]
Guest





Posted: Wed Jan 12, 2005 4:54 pm    Post subject: RE: Login scripts Reply with quote

Hello SBY,

According to your description, I believe it is probably a problem with the
subinacl cmd.


If the ACLs have not been changed, it is obvious that the domain user
cannot access the resources in the Win 2000 domain. No matter what steps
you take, you will always get "Access denied". The reason why the domain
admin can access the resources is probably due to some group nesting which
grant the admin group the permission.

To narrow down the problem, please follow the steps below to test whether a
user in win 2003 domain can access the shares in win 2000 domain when
granting related permissions.

Step 1: Create a testAccount in the Win 2003 domain.
Step 2: In the win 2000 domain, manually grant permissions in a share to
the testAccount.
Step 3: Test whether testAccount can access the share.

If it works, please recheck the subinacl cmd you used.

Any updates, let us get in touch!

Best regards,

Frances He


Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Back to top
Frances [MSFT]
Guest





Posted: Thu Jan 13, 2005 4:04 pm    Post subject: RE: Login scripts Reply with quote

Hello Steve,

I read the information you provide for the new thread. It is different as
you provided before. Since it is very important to troubleshoot the
problem, I would like to confirm it again.

1. Can the user manually map the drives to the share as a domain user? What
is the result when he uses UNC, such as \\192.168.0.1 in Run box to access
the shares in the win2k domain?

Note: 192.168.0.1 is the computer's IP address which has shares.

2. In addition to mapping drive, is there any special action in the script?
Generally speaking, we use logon script or startup script to deploy the GPO
to the client. If the script needs to perform some action beyond the normal
user privilege, you need to deploy this script as a startup script, which
uses the computer account to perform the script. For more detail about the
startup script, please refer to the following article:

To assign computer startup scripts
http://www.microsoft.com/windows2000/en/advanced/help/default.asp?url=/windo
ws2000/en/advanced/help/gptext_assigncomputerstartupscripts.htm


If the user can manually map the drive and access the resource without
"Access Denied", it is probably the VBScript problem, which is not
supported in this newsgroup.

If the script only maps drive for the user, I strongly recommend you use
"net use" command to access the shares. If it works, you can make a batch
file to map the drive. The syntax of "net use" command is in the following
article.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-
us/net_use.mspx

Hope it helps. Any update, let us get in touch!



Best regards,

Frances He


Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Migration All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB