HYgTA Posted February 26, 2006 Posted February 26, 2006 HeyI have been playing around with unattended installations for a bit now, but is by no means a professional One of the main problems I have with my unattended install cd, is the sharing of folders.In windows 2000 all you had to do was to Right Click on a folder set it to "share this folder" under sharing, and then all could acces it on the local net.In XP you have to make shure that: 1) the guest acount is enabled 2) guest is removed from "Deny acces to this computer from the network" 3) Then you can right click on the folder and set it to "share this folder" under Sharing 4) But you also have to add "everyone" to the list under SecurityMy question is: How do i add these tweeks during unattended instalation?1) Enabling the guest account2) Removing Guest from Deny list - Under Local Securit Settings3) Having everyon added (with full acces) to the Security tab under all folders
HYgTA Posted February 27, 2006 Author Posted February 27, 2006 Thank you for your respons I did however hope for a bit more details ....I know the security isues involved with setupI would however like it done anywayTanks
gunsmokingman Posted February 27, 2006 Posted February 27, 2006 I do not know if this will help but here is A VBS script that shares a folder, you will have to add the information for the folder.Here ia a link to where I found the script if you need more information.Where I Found The ScriptConst FILE_SHARE = 0Const MAXIMUM_CONNECTIONS = 25strComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer & "\root\cimv2")Set objNewShare = objWMIService.Get("Win32_Share")errReturn = objNewShare.Create _ ("C:\Finance", "FinanceShare", FILE_SHARE, _ MAXIMUM_CONNECTIONS, "Public share for the Finance group.")
HYgTA Posted February 28, 2006 Author Posted February 28, 2006 Thanks for the code Im not a hardcore VBS coder but it seems like the codeonly shares a folder, and does nothing for the security settings.Most of the windows settings are only variables stored in the regand so most settings can be changed by the use of a reg tweekI was hoping that somthing similar could be made for theLocal Security Settings.
ShaNTS Posted April 4, 2006 Posted April 4, 2006 (edited) My question is: How do i add these tweeks during unattended instalation?1) Enabling the guest account2) Removing Guest from Deny list - Under Local Securit SettingsI`m not sure about Registry tweak, try this commands from cmd windownet user guest /active:yesntrights +r SeNetworkLogonRight -u Guestntrights -r SeDenyNetworkLogonRight -u Guestntrights.exe from Windows Server 2003 Resource Kit ToolsNtrights.exe Edited April 4, 2006 by ShaNTS
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now