locked
Cannot import a registry key in Windows 7 through SCCM RRS feed

  • Question

  • Iam trying to import an registry key for a group of systems running with Windows 7 OS through SCCM. I created a batch file and advertised through SCCM. But even though SCCM report says successful, the registry is not getting imported. When we checked running the batch file locally, we found UAC is asking for validation before attempting to import the registry. If we run as adminstrator, the batch file works fine.

    Is there any way where we can incorpoate the run as administrator option or skip the UAC in SCCM for advertising this registry.

    Below is the entry we are trying to change.

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    "DisableLockWorkstation"=dword:00000001

    And batch file is like,

    C:\> regedit /s <above registry key>

    TIA,

    Guru.R

    • Moved by Hengzhe Li Wednesday, April 20, 2011 7:17 AM Forum Cleanup (From:MSDN, TechNet, and Expression Profile and Recognition System Discussions)
    Tuesday, October 26, 2010 10:52 AM