Question

Locked

How to implement common settings for all the user ?

By munna1548 ·
Dear all,

I've set-up a small networking environment (win server 2003 enterprise-win xp pro) in a office with one server (DC+file server) and 20 client machine.

roaming profile feature is being used

All the users should have same settings and configuration (like connected to a shared printer and getting access to a shared space in the server as a mapped network drive)

I'm doing it individually for all 20 users in all machines. But I know there must be some appropriate and easy way to do this?

could any kind person spare some time to give me a solution how to implement this group policy practically ?

thanks in advance

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

I would use a script

by Jacky Howe In reply to How to implement common s ...

but there is another alternative. Anyway examples of both.

How to create a custom default user profile

Article ID : 319974
Last Review : September 6, 2007
Revision : 3.0
This article was previously published under Q319974
SUMMARY
This article describes how to create a custom default user profile in Windows XP. A custom default user profile is helpful if several people use the same computer but each user wants a separate profile and access to shared resources. When multiple users log on locally to the same computer, Windows XP uses the built-in default user profile as a template to assign a profile to each new user. You can replace this built-in profile with a custom default user profile so that each new user receives a custom version of the profile.

Because this change is permanent, it is a good idea to make a backup copy of the default user profile, in case you ever want to use it again. The default user profile is in the Default User folder under Documents and Settings.


Create a custom default user profile
1. Log on to the computer as the administrator, and then create a local user account.
2. Log off as the administrator, and then log on to the computer through the local user account that you just created.

Caution You will cause permissions issues if you create the custom user profile when you are logged on as the administrator.
3. Customize the profile appropriately. For example, install printers and map the drives that you need.
4. Log off as the local user, and then log back on as the administrator.
5. Because several of the files in the profile are hidden and must be copied to the new custom default user profile, turn on the Show hidden files and folders option. To do so, follow these steps: a. Double-click My Computer, click Tools, and then click Folder Options.
b. On the View tab, under Advanced settings, click Show hidden files and folders, and then click OK.

6. Replace the current default user profile with the customized default user profile. To do so, follow these steps: a. In Control Panel, double-click System.
b. In the System Properties dialog box, click the Advanced tab.
c. Under User Profiles, click Settings.
d. In the User Profiles dialog box, click the user profile that you just created, and then click Copy To.
e. In the Copy To dialog box, under Copy profile to, click Browse, click the C:\Documents and Settings\Default User folder, and then click OK.

Windows XP will now assign the custom default user profile to any new user who logs on to the computer.

Note: You can use this custom profile on other Windows XP-based computers by copying the profile you saved in C:\Documents and Settings\Default User to the same folder on a different computer.

The other alternative is to use a Logon Script like this example :)

'==========================================================================
'
' VBScript Source File -- Created with SAPIEN Technologies PrimalSCRIPT(TM)
'
' NAME: logon.vbs
'
' AUTHOR: Ian Morrish, http://www.windows-script.com
' DATE : 5/7/2000
'
' COMMENT: This file must be copied to all domain controlers
'
'==========================================================================
On Error Resume Next
Dim WshNetwork, asdPath, User
Dim strMappedDrives, strStatus
Dim IE

Const ADS_READONLY_SERVER = 4

' Display IE status window

Call CreateIE()
strStatus = "Logon Script v1.0 " & Date()
ie.document.all.wstatus.InnerText = strMsg3

' Get the User ID

Set WSHNetwork = WScript.CreateObject("WScript.Network")
strUser = ""
While strUser = ""
strUser = WSHNetwork.UserName
Wend

ie.document.all.Msg1.InnerText = strUser

call main()

strStatus = strStatus & vbCRLF & "Network Logon Complete..."
ie.document.all.wstatus.InnerText = strStatus


' Close IE status window

If not ie.document.all.holdit.checked then
ie.quit()
End if

' End of logon script

Public Sub Main()

'Main loop to detect group that user belongs to
adsPath = "WinNT://<your Domain name>/" & strUser
Set dso = GetObject("WinNT:")
Set objUser = dso.OpenDSObject(adsPath,"","", ADS_READONLY_SERVER)
For Each Prop In objUser.groups
Select Case Prop.Name

Case "Staff"
Call Staff()

Case "Staff"
Call Staff()

Case "Staff"
Call Staff()

'etc
End Select
Next 'Prop

End Sub

Sub Staff()

strStatus = strStatus & vbCRLF & "Member of Staff..."
ie.document.all.wstatus.InnerText = strStatus

strHomeDir = "\\<your file server>\" & User & "$"

MapDrive "H:", strHomeDir

MapDrive "K:", "\\<your file server>\music"

MapDrive "J:", "\\<your file server>\junk"

End Sub

Sub CreateIE()

On Error Resume Next
Set IE = CreateObject("InternetExplorer.Application")
With IE
.navigate "\\<your file server>\netlogon\logon.htm"
.resizable=0
.height=420
.width=350
.menubar=0
.toolbar=0
.statusBar=0
.visible=1
End With
Do while ie.Busy
' wait for page to load
Wscript.Sleep 2000
Loop

End Sub

Sub MapDrive(strDrive,strShare)

On Error Resume Next
WSHNetwork.MapNetworkDrive strDrive, strShare

If Err.Number Then

WSHNetwork.RemoveNetworkDrive strDrive
WSHNetwork.MapNetworkDrive strDrive, strShare

End If

strMappedDrives = strMappedDrives & strDrive & " "
ie.document.all.Msg2.InnerText = strMappedDrives
Wscript.Sleep 2000
End Sub

More Help

http://www.computerperformance.co.uk/Logon/logon_scripts.htm

Collapse -

Thanks Blue

by munna1548 In reply to I would use a script

Thank you very much
I'm gonna implement the 1st solution you've mentioned.
I'll let you know the updates.
Bless you

Back to Networks Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums