Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

Permissions not working

Hi,

I have set the following permissions on Home folder on windows 2003 R2 server.

Share Permissions
Administrators: Full Control
System: Full Control
Authenticated Users: Full Control

NTFS
Administrators: Full Control
System: Full Control
Creator Owner: Full Control
Authenticated Users: Read & Execute, List Folder Contents, Read
(This folder only)

only users belongs to domain admin group can create their home folder when they login to the server.  What is wrong with the permissions.

Please help me to fix it.

Thanks
0
ayha1999
Asked:
ayha1999
  • 3
  • 2
1 Solution
 
AnuroopsunddCommented:
NTFS - Add Special Permissions to "Authenticated Users" group:
        Traverse Folder / Execute File
        List Folder / Read Data
        Read Attributes
        Read Permission
             You may need to disable permission inheritance and make sure that the speical permissions dont apply to subfolders of the root
             folder ("Apply Onto:" "This Folder Only").
 
http://support.microsoft.com/kb/555046
0
 
AnuroopsunddCommented:
Also how are you creating home folder for the users?

in the user account under home folder put below... change servername and foldername with your servername and home foldername.

\\servername\foldername\%username%
0
 
ayha1999Author Commented:
I tried the follwoing vbscript

Dim objNetwork, strDrive, objShell, objUNC, UName
Dim strRemotePath, strDriveLetter, strNewName

Set objNetwork = CreateObject("WScript.Network")

UName = objNetwork.UserName

strDriveLetter = "x:"
strRemotePath = "\\home\Personal$" & "\" & UName
strNewName = "Personal"

objNetwork.MapNetworkDrive strDriveLetter, strRemotePath

'Section which actually (re)names the Mapped Drive

Set objShell = CreateObject("Shell.Application")
objShell.NameSpace(strDriveLetter).Self.Name = strNewName

Set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
Set oShellLink = WshShell.CreateShortCut(strDesktop & "\Personal.lnk")
oShellLink.TargetPath = WScript.ScriptFullName
oShellLink.WindowStyle = 1
oShellLink.TargetPath = "x:\"
oShellLink.WorkingDirectory = "x:\"
oShellLink.Save

WScript.Quit

I followed the following link for home folder configuration.

http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx

thanks
0
 
ayha1999Author Commented:
I tried the same permission and created a bat file with
net use u: \\home\personal$\%UserName%

now a network drive(U) is created in My Computer and user can open it but he cannot add any files in it. it takes long time and after a message that "file name is too long.

Please check.

Thanks
0
 
ayha1999Author Commented:
Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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