Announcement

Collapse
No announcement yet.

Policy template...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Policy template...

    Hi,
    I read Daniel's article "http://www.petri.com/disable_usb_disks_with_gpo.htm" and have a question - I want to configure two (Workgroup not Domain members) Workstations in a remote office with this policy template, but I do not want it to apply to all users. In other words I would like to disable use of floppy, USB
    key, CD/DVD for regular users but not administrators. From the
    policy settings in the template it appears the settings are global
    How can I tweak the settings to produce the results I desire?
    Thanks!
    Dov

  • #2
    Re: Policy template...

    Windows Server 2003 http://support.microsoft.com/kb/325351
    Windows 2000 http://support.microsoft.com/kb/293655/en-us
    Windows XP http://forum.osnn.net/showthread.php?t=5760

    How to Apply Local Policies to all Users Except Administrators on Windows XP in a Workgroup Setting


    SUMMARY
    This article describes how to apply local policies to all users, except administrators, on a Windows 2000-based computer that is in a workgroup setting.

    MORE INFORMATION
    When you use either a Windows XP Professional-based or Windows XP Server-based computer in a workgroup setting (not a domain), you may need to implement local policies on that computer that can apply to all users of that computer, but not to administrators. This exception enables the administrator to have unlimited access and control of the computer, and to be able to restrict the users that can log on to that computer.

    The Windows XP Professional-based computer or Windows XP-based member server must be in a workgroup setting for this procedure to work. In this situation the domain policies cannot overwrite the local policies because the domain policies do not exist. It is recommended to make backup copies of all the files that are edited.

    To implement local policies to all users, except administrators:
    1. Log on to the computer as an administrator.
    2. Open your local security policy: Either click Start , click Run , and then type: gpedit.msc , or click Start , click Run , type: mmc , and then load the local security policy. If the removal of the run command is one of the policies that you want, it is recommended that you edit the policy by means of Microsoft Management Console (MMC), and then save the results as an icon. Then, the run command is not needed to reopen the policy. When the policy is open, expand User Configuration , expand Administrative , and then expand Templates .
    3. Enable whatever policies you want (for example, Desktop for "Hide My Network Places" or "Hide Internet Explorer Icon on Desktop").

    NOTE : Ensure that you select the correct policies, otherwise you may restrict the ability of the administrator to log on to the computer (and complete the necessary steps to configure the computer). It is recommended that you record what changes you have made (you can also use this information for step #10).
    4. Close the Gpedit.msc Group Policy snap-in, or if you use MMC, save the console as an icon to make it accessible later, and then log off from the computer.
    5. Log on to the computer as an administrator. You can observe in this logon session the policy changes that had been made earlier, as by default, the local policies apply to all users, which includes administrators.
    6. Log off from the computer, and then log on to the computer as all of the other users for this computer for which you want these policies to apply to. The policies are implemented for all of these users as well as the administrator.

    NOTE : Any user account that is not logged on to the computer at this step cannot have the policies implemented for that account.
    7. Log on to the computer as an administrator.
    8. Click Start , click Settings , click Control Panel , and then double-click Folder Options . Click the View tab, click the Show Hidden Files and Folders option, and then click OK so that you can view the Group Policy hidden folder. Or, you can access these settings if you open Windows Explorer, click Tools , and then click Folder Options .
    9. Copy the Registry.pol file that is located in the %Systemroot%\System32\GroupPolicy\User\Registry.po l folder to a backup location (for example, a different hard disk, floppy disk, or folder).
    10. Open your local policy again by using either the Gpedit.msc Group Policy snap-in or your MMC console icon, and then disable the exact features that had been disabled in the original policy that had been created for that computer.
    11. Close your policy editor, and then take the backup Registry.pol file that had been copied in step #9 and copy it back into the %Systemroot%\System32\GroupPolicy\User folder. Copy the backup Registry.pol file over the new, existing, Registry.pol file that had been just created by disabling the same features. When you are prompted by the operating system as to whether you want to replace the existing file, click Yes .
    12. Log off from the computer, and then log on to the computer as an administrator. You can observe that the changes that had been originally made are not implemented for you because you have logged on to the computer as an administrator.
    13. Log off from the computer, and then log on to the computer as another user (or other users). You can observe that the changes that had been originally made are implemented for you because you have logged on to the computer as a user (not an administrator) to that computer .
    14. Log on to the computer as an administrator to verify that the local policy does not affect you as the local administrator to that computer.
    To reverse the process:
    1. Log on to the computer as an administrator.
    2. Click Start , click Settings , click Control Panel , and then double-click Folder Options . Click the View tab, click the Show Hidden Files and Folders option, and then click OK so that you can view the Group Policy hidden folder. Or, you can open Windows Explorer, click Tools , and then click Folder Options .
    3. Either move, rename, or delete the Registry.pol file from the %Systemroot%\System32\GroupPolicy\User folder. Another default Registry.pol file is created by the Windows File Protection system after you log off from or restart the computer.
    4. Open the local policy: Click Start , click Run , and then type: gpedit.msc , or click Start , click Run , type: mmc , and then load the local security policy. Then, set all of the items that are set to either "disable" or "enable" to "not configured" to reverse any policy changes that had been implemented to the Windows 2000 registry as specified by the Registry.pol file.
    5. Log off from the computer as an administrator, and then log on the computer as an administrator.
    6. Log off from the computer, and then log on the computer as all of the users on the local computer so that the changes can be reversed on their accounts as well.

    http://support.microsoft.com/kb/910203
    Last edited by Killerbe; 26th March 2008, 09:35.
    [Powershell]
    Start-DayDream
    Set-Location Malibu Beach
    Get-Drink
    Lay-Back
    Start-Sleep
    ....
    Wake-Up!
    Resume-Service
    Write-Warning
    [/Powershell]

    BLOG: Therealshrimp.blogspot.com

    Comment


    • #3
      Re: Policy template...

      Hi Killer,
      Thanks for that, I appreciate the info.
      I suspect I am either missing something or do not have the template configured correctly. Currently I have the template installed and have enabled the options to disable the USB, CD/DVD, floppy, and high-capacity floppy yet whether logged in as a regular user or admin I still can write files to the floppy drive.
      I have attached a document containing a screen shot illustrating the current configuration.
      I'm a little confused though because the template I imported as per Daniel's article seems to apply to Machine settings where the article you cite deals with User policy. This actually affects which registry.pol file I have to copy/paste (the one under the Machine sub-folder as opposed to the one under the User sub-folder)
      In any event I am going to keep poking at this but if you would not mind providing a little more clarification that would be great.
      Thanks again!
      Dov
      Attached Files

      Comment


      • #4
        Re: Policy template...

        hai killerbe

        your method seems to be not working for me, if edited any policy after copying the file, the policy is affecting both the user and the administrator

        Regards

        Comment

        Working...
        X