Jump to content

Recommended Posts

Posted

Hey

I 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 Security

My question is: How do i add these tweeks during unattended instalation?

1) Enabling the guest account

2) Removing Guest from Deny list - Under Local Securit Settings

3) Having everyon added (with full acces) to the Security tab under all folders


Posted

Thank you for your respons :thumbup

I did however hope for a bit more details ....

I know the security isues involved with setup

I would however like it done anyway

Tanks :)

Posted

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 Script

Const FILE_SHARE = 0
Const MAXIMUM_CONNECTIONS = 25
strComputer = "."
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.")

Posted

Thanks for the code :)

Im not a hardcore VBS coder but it seems like the code

only shares a folder, and does nothing for the security settings.

Most of the windows settings are only variables stored in the reg

and so most settings can be changed by the use of a reg tweek

I was hoping that somthing similar could be made for the

Local Security Settings.

  • 1 month later...
Posted (edited)
My question is: How do i add these tweeks during unattended instalation?

1) Enabling the guest account

2) Removing Guest from Deny list - Under Local Securit Settings

I`m not sure about Registry tweak, try this commands from cmd window

net user guest /active:yes
ntrights +r SeNetworkLogonRight -u Guest
ntrights -r SeDenyNetworkLogonRight -u Guest

ntrights.exe from Windows Server 2003 Resource Kit Tools

Ntrights.exe

Edited by ShaNTS

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...