myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Using SCCM 07 to manage dekstop registry

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Using SCCM 07 to manage dekstop registry Page: [1]
Login
Message << Older Topic   Newer Topic >>
Using SCCM 07 to manage dekstop registry - 7/30/2008 4:46:44 PM   
cwensell

 

Posts: 6
Score: 0
Joined: 7/23/2008
Status: offline
We are trying to make a registry change in SCCM and would like to create a package for it.  Any ideas.

thanks
Chris
Post #: 1
RE: Using SCCM 07 to manage dekstop registry - 7/30/2008 5:05:01 PM   
jsandys


Posts: 551
Score: 17
Joined: 3/24/2005
From: San Antonio, TX
Status: offline
Use reg.exe (http://www.petri.co.il/reg_command_in_windows_xp.htm).

_____________________________

Jason
________________________________________
http://myitforum.com/cs2/blogs/jsandys/default.aspx

(in reply to cwensell)
Post #: 2
RE: Using SCCM 07 to manage dekstop registry - 7/30/2008 5:05:15 PM   
wbracken


Posts: 1036
Score: 22
Joined: 4/12/2002
From: St. Louis
Status: offline
You want to make registry changes on your clients?  Are they Current User settings or Local Machine settings?

_____________________________

William Bracken

Visit my new Blog
http://wbracken.wordpress.com/

(in reply to cwensell)
Post #: 3
RE: Using SCCM 07 to manage dekstop registry - 7/30/2008 9:28:32 PM   
mhudson

 

Posts: 542
Score: 12
Joined: 4/1/2007
From: College Station, TX
Status: offline
You just need to create a xxxx.reg file with the appropriate registry entries.  When pushing it use "regedit.exe /s xxx.reg"
It will install silently.  Note that local machine should be run as admin and current use run as "user"

_____________________________

Matthew Hudson
http://sms-hints-tricks.blogspot.com/
http://www.sccm-tools.com

(in reply to wbracken)
Post #: 4
RE: Using SCCM 07 to manage dekstop registry - 7/31/2008 5:15:51 PM   
cwensell

 

Posts: 6
Score: 0
Joined: 7/23/2008
Status: offline
We are wanting to send out a registry setting that users need for special internal app that has hooks into Outlook.

(in reply to wbracken)
Post #: 5
RE: Using SCCM 07 to manage dekstop registry - 7/31/2008 5:18:00 PM   
cwensell

 

Posts: 6
Score: 0
Joined: 7/23/2008
Status: offline
Is there is a way for us to manage the value of hte key instead of sending the reg entry?

(in reply to mhudson)
Post #: 6
RE: Using SCCM 07 to manage dekstop registry - 7/31/2008 5:55:26 PM   
jsandys


Posts: 551
Score: 17
Joined: 3/24/2005
From: San Antonio, TX
Status: offline
What do you mean by manage?  Both reg.exe and using a .reg file will let you create keys and values as well as update existing values.  Reg.exe will also let you delete them if you need to.

_____________________________

Jason
________________________________________
http://myitforum.com/cs2/blogs/jsandys/default.aspx

(in reply to cwensell)
Post #: 7
RE: Using SCCM 07 to manage dekstop registry - 8/1/2008 12:05:53 AM   
jcondo

 

Posts: 7
Score: 0
Joined: 7/29/2008
Status: offline
You can also use vbscript. the following is and example that updates the permissions for the eventlogs through registry changes. I have included a read and write function.


On Error Resume Next

const HKEY_CURRENT_USER = &H80000001
const HKEY_LOCAL_MACHINE = &H80000002


'You can control these values     
strComputer = "."                                      'Local computer script is running on

strRegRoot = HKEY_LOCAL_MACHINE     'Hive you want to read or write to
strValueName = "CustomSD"                    'Value name that you want to change
strValType = "string"                                 'Data type of the value - functions are written to recognize "string" and "dword"

'each section below define the root key to make changes in     
strKeyPath = "SYSTEM\CurrentControlSet\Services\Eventlog\Application"
strRegValue = "O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x1;;;S-1-5-21-203831685-1093892477-926709054-95542)"
Call WriteRegKey(strRegRoot,strKeyPath,strValueName,strValType)
wscript.echo vbTab & "Application event log security updated"

 
strKeyPath = "SYSTEM\CurrentControlSet\Services\Eventlog\System"
strRegValue = "O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x5;;;SO)(A;;0x1;;;IU)(A;;0x1;;;SU)(A;;0x1;;;S-1-5-3)(A;;0x2;;;LS)(A;;0x2;;;NS)(A;;0x1;;; S-1-5-21-203831685-1093892477-926709054-95542)"
Call WriteRegKey(strRegRoot,strKeyPath,strValueName,strValType)
wscript.echo vbTab & "System event log security updated"

wscript.exit 0

'--------------------------------------------------------------------
'    Functions
'--------------------------------------------------------------------

Function ReadRegKey(strRegRoot,strKeyPath,strValueName,strValType)

 Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")

If ucase(strValType) = "DWORD" Then
 oReg.GetDWORDValue strRegRoot,strKeyPath,strValueName,strRegValue
ElseIf ucase(strValType) = "STRING" Then
 oReg.GetStringValue strRegRoot,strKeyPath,strValueName,strRegValue
end if

ReadRegKey = strRegValue

End Function
 
'-------------------------------------------------
Function WriteRegKey(strRegRoot,strKeyPath,strValueName,strValType,strRegValue)

 Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")

If ucase(strValType) = "DWORD" Then
 oReg.SetDWORDValue strRegRoot,strKeyPath,strValueName,strRegValue
ElseIf ucase(strValType) = "STRING" Then
 oReg.SetStringValue strRegRoot,strKeyPath,strValueName,strRegValue
end if

End Function



(in reply to jsandys)
Post #: 8
RE: Using SCCM 07 to manage dekstop registry - 8/1/2008 9:01:34 AM   
chiners_68

 

Posts: 219
Score: 3
Joined: 10/31/2007
Status: offline
I write my own bespoke scrits in Autoit for modifying registry , files etc on workstations. When an AutoIt file is complied it turns into an exe file which is very easy to deploy as a package.

(in reply to jcondo)
Post #: 9
RE: Using SCCM 07 to manage dekstop registry - 8/1/2008 9:58:56 AM   
atodd

 

Posts: 22
Score: 0
Joined: 5/9/2006
Status: offline
I've always found the easiest way to make these change is to stick them into a msi file.

(in reply to chiners_68)
Post #: 10
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Using SCCM 07 to manage dekstop registry Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.297