[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

Scripts Directory not created by Active Directory on a Windows 2003 Server? Trying to use Logon Scripts.

I have a Windows 2003 Server that was just freshly installed.  After installing Active Directory and all our own software, I started writing Logon Scripts, only to find out that the Scripts folder was not installed as it should have been.  I attempted to create it and moved my logon scripts into it, however, none seem to be working.  Has anyone else seen this?  Any tips?

Thanks
0
CUOL-MIS
Asked:
CUOL-MIS
2 Solutions
 
luv2smileCommented:
How are you applying logon scripts? with group policy?

If you are using group policy then you should have a folder %systemroot%\sysvol\domain\policies

0
 
corneliupCommented:
The scripts folder in fact is the NETLOGON share on your server
To assign scripts browse to the "\\server_name\NETLOGON" share and put the scripts there.

To find the netlogon share, on the server, right click My Computer > Manage > Shared Folders > Shares

Also check security of this folder you created you need Read&Execute, List Folder Contents and Read rights for the "Authenticated Users" group.

0
 
CUOL-MISAuthor Commented:
I'm just using a logon.bat.

There also is no policies folder in that path as I believe there should have been.

Oddly enough, Active Directory seems to be working just fine.

Thanks
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
luv2smileCommented:
If you are assigning the script via the user's profile, then the script needs to be in the following folder:

%systemroot%\SYSVOL\sysvol\domain\scripts
0
 
luv2smileCommented:
corneliup is right, the netlogon share is the following: %systemroot%\SYSVOL\sysvol\domain\scripts
0
 
CUOL-MISAuthor Commented:
That is the folder I had to manually create. And, that's where the Script resides, however, it's still not working.  I'm thinking about a (gasp) reboot just to see what happens at this point.
0
 
luv2smileCommented:
That is where the script is stored. But how are you applying this script to the users?
0
 
CUOL-MISAuthor Commented:
Thru the User Profile.  On the Profile Tab, I'm adding it into the Logon_Script box.
0
 
luv2smileCommented:
What do you have for the path?

It should only be logon.bat   if that is the name of your file.
0
 
CUOL-MISAuthor Commented:
Yes, it is logon.bat.

I've also tried just logon, scripts\logon, scripts\logon.bat, c:\windows\sysvol\sysvol\rtn.local\scripts\logon.bat and also c:\windows\sysvol\sysvol\rtn.local\scripts\logon.

Nothing seems to be working properly.
0
 
luv2smileCommented:
Have you done what corneliup suggested?

Check the share and the security permissions to make sure they are correct....
0
 
harleyjdCommented:
Guys - this caught my eye "I attempted to create it and moved my logon scripts into it,"

If you move files on the server between folders on the same drive the files retain their old permissions. If they were created via admin, and save in an admin folder then they are likely to have administrators and system as the only allowed objects...

Corneliups bit abounf the proper path rings true, too...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now