Search the Community
Showing results for tags 'registry'.
-
I've been trying to import a registry key in order to upgrade the bomgar automatic elevation installed on our clients. I've tried regedit.exe /s, reg import, I've tried creating a batch that copies it locally and then runs it, and I've tried New-ItemProperty through a PowerShell script. All exemgr log gives me is an exit 0 code successful. The scripts run fine on their own if I just right-click and run as admin or type it into cmd manually. It' a HKLM registry so it shouldn't require the user at all. I'm at a loss, any advise would be helpful. Thanks, GS
-
Please read the full posting before answering. I've searched extensively for a GPO fix to my issue but I can't find one. I've got a lot of users that work wit IE. Under Internet Options / Programs / Default Web Browser there are two options, "Tell me if Internet Explorer is not the default web browser" and "Make default". Both are grayed out on some machines and of course, cannot be modified. On other machines the "Tell me...." option is active and can be checked and the "Make Default" is grayed out. Machines with both conditions have the SAME group policies applied to them. I have a PS script on my DC allowing me to search GPO's for specific content. However I don't know what to search for in order to find the GPO that has these settings in them. Google searches have proved fruitless in finding the GPO options that need to be changed. I'm less concerned about the "Make Default" than I am about the "Tell me...." option. Where are these settings located and what are they titled? If they are not specific settings, what registry changes can I push that allows me to activate the "tell me..." option in IE? Also, why, if the same policies are being applied (meaning they are not being blocked by security filtering), are the settings on these machines different. This is extremely frustrating and I'm really looking for a solution to this. Thanks in advance for your assistance.
-
- internet explorer
- gpo
-
(and 1 more)
Tagged with:
-
Collecting Registry Info within Inventory
AndyR posted a question in Troubleshooting, Tools, Hints and Tips
Hello, I'm try to retrieve information from the registry on client workstations. I have read a few guides and sucessfully used RegKeyToMOFv3_R2 for a previous task however this time around I would like to report on data within HKey_Current_User. By default the RegKeyToMOFv3_R2 application targets HKEY_LOCAL_MACHINE. Does anyone know if the output can simply be edited to the HKCU location? Many thanks, Andy -
Hey Guys / Niall - I recently wrote and compiled a script which when executed on a workstation, will write a few registry strings to a custom key within the registry. The goal of this script is to inventory this data using SCCM. I think the issue I'm having is that by design, the script writes these values into a key which is named after the currently logged in user therefore is dynamic per system. I've tried using RegKeytoMOF and have looked at many pages like this one for how to add classes to inventory by editing MOF files, but haven't had luck. When using RegKeytoMOF and selecting the key named after the username, the MOF files it creates seem to populate correctly as I can clearly see each string within defined. I cannot use this as the key would be different per system so would assume I need to select the parent key. However, when I select the parent key of "ProfileInfo", the generated MOF files do not contain any settings nor mention "ProfileInfo." So - how do I go about doing this? Is the below correct? Thank you! Example of What I'm Trying to Inventory All Strings within: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Company\ProfileInfo\gwashington DocumentsSize = 100 DesktopSize = 50 MyProfile = 800 FavoritesSize = 0 AllProfilesSize = 1200 "HKLM\SOFTWARE\Wow6432Node\Company\ProfileInfo" would be the same on all PCs, but the key "gwashington" shown above is named after the logged in user so would be dynamic / different per system. All strings would be named the same within the user's key, but would obviously have different values per PC. RegKeytoMOF Output When "gwashington" Key Selected ClassGroup & ClassName set to "ProfileInfo" // RegKeyToMOF by Mark Cochrane (tribute to Skissinger & Steverac) // this section tells the inventory agent what to collect #pragma namespace ("\\\\.\\root\\cimv2") #pragma deleteclass("ProfileInfo", NOFAIL) [DYNPROPS] Class ProfileInfo { [key] string KeyName; String MyDocuments; String Desktop; String Favorites; String AppData; String MyProfile; String AllProfiles; String MyNetworkShare; }; [DYNPROPS] Instance of ProfileInfo { keyname="RegKeyToMOF[MarkCochrane]"; [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Company\\ProfileInfo\\gwashington|MyDocuments"),Dynamic,Provider("RegPropProv")] MyDocuments; [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Company\\ProfileInfo\\gwashington|Desktop"),Dynamic,Provider("RegPropProv")] Desktop; [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Company\\ProfileInfo\\gwashington|Favorites"),Dynamic,Provider("RegPropProv")] Favorites; [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Company\\ProfileInfo\\gwashington|AppData"),Dynamic,Provider("RegPropProv")] AppData; [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Company\\ProfileInfo\\gwashington|MyProfile"),Dynamic,Provider("RegPropProv")] MyProfile; [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Company\\ProfileInfo\\gwashington|AllProfiles"),Dynamic,Provider("RegPropProv")] AllProfiles; [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Company\\ProfileInfo\\gwashington|MyNetworkShare"),Dynamic,Provider("RegPropProv")] MyNetworkShare; }; RegKeytoMOF Output When "ProfileInfo" (Parent) Key Selected ClassGroup & ClassName set to "ProfileInfo" // RegKeyToMOF by Mark Cochrane (tribute to Skissinger & Steverac) // this section tells the inventory agent what to collect #pragma namespace ("\\\\.\\root\\cimv2") #pragma deleteclass("ProfileInfo", NOFAIL) [DYNPROPS] Class ProfileInfo { [key] string KeyName; }; [DYNPROPS] Instance of ProfileInfo { keyname="RegKeyToMOF[MarkCochrane]"; }; Thanks!
-
this is simple, I push out an application, an exe file. And of course I need to create a detection method. In this example I'm not able to use any file, as the versions don't differentiate on files, and I need to be able to tell different versions apart. So instead I turne to registry, there is a value in there that lets me differentiate versions. Here is what I do -> I confirm that the registry exists after installation, but it fails detecting the program anyway. So basicly the deployment works, but it can't see this registry. Why?, the path is correct.. I've tried using both the flag in '32'bit and without.
-
Hello, I'm fairly new to modifying the MOF file in SCCM to extend the hardware inventory. I've used it once to collect specific key/string values using RegKeyToMof in the past. I'm looking to collect the string names and values for an unknown set of strings in a specific location in the registry and I'm uncertain on how to do so. My specific use case is to collect HKLM\Software\Microsoft\Windows\CurrentVersion\Run and HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce. These keys control what software is loaded at start-up and could have any number of string names and values. I've looked for solutions online without any success, any help would be much appreciated. Thanks, Jones
-
Hi, All I has installed SCOM 2012 on my Server. How could I tell which language version of SCOM has been installed from registry? Thanks. I look through the following reg path, can't find any language related key or values. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Operations Manager HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\System Center Operations Manager
-
Thanks for looking over this question. It's driving me crazy. In our corporate environment we have many workstations that auto log in with a machine-specific username and password. We are a hospital, and these are exam PCs, so many important variables are attached to these unique IDs. Right now, the environment is Windows XP 32 bit. We are using Config Manager 07 to deploy Windows 7 64 bit. In the XP environment, I have my task sequence do a command to back up the registry information I need before it downloads PE and reboots. It's a native command line, and it runs a batch file located on a remote server that builds a custom reg file for that machine, naming it dynamically based on the machine's name using the %computername% variable. It pulls out 5 values from this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon It puts them all into a single .reg file that can then be merged manually or via a command line on the 64 bit machine. The reg file works, so it's not malformed or incompatible. However, the problem is that I want do this part automatically as part of the task sequence. There are simply too many PCs to do it manually one-by-one. At the end of my task sequence, after Setup Windows and ConfigMgr, I have placed the 4 attempts, each in their own task: C:\Windows\REGEDIT /s \\server\share\temp\%computername%.reg -redirection is OFF reg add \\server\share\temp\%computername%.reg -redirection is OFF C:\Windows\REGEDIT /s \\server\share\temp\%computername%.reg -redirection is ON reg add \\server\share\temp\%computername%.reg -redirection is ON All of these tasks have Continue on Error enabled and they are all running with an admin account. Again, if I run any one of these commands from the command line while logged in as the admin, they work. As a TS, they do not. From what I can tell the problem is that once the TS is complete there is a hidden final task to prepare the machine to boot into Admin or wait at the ctrl+alt+del screen (it does the latter), and this action clears the registry information I just merged. Does anyone have an idea for a workaround? Ideally, when the task sequence completes the workstation is left in the logged-in state using the autologon registry information. Thank you -Brian
-
Hi all, I have a bit of a curly one. I want to pull in some custom registry info, but I'm a bit stumped. There are plenty of great guides floating around on how to get registry information via editing configuration.mof and sms_def.mof. The problem I have is that every single example I can find so far is for a staticly named value. For instance from the guide at http://blog.coretech.dk/kea/how-to-get-registry-information-into-hardware-inventory/ #pragma deleteclass("IE", NOFAIL) [DYNPROPS] Class IE { [key] string KeyName; String Version; }; [DYNPROPS] Instance of IE { keyname="IE.version"; [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|Version"),Dynamic,Provider("RegPropProv")] Version; } Now this assumes that information is in a value called "Version", in my case I need to get the name of the value, where the actual value name (not just it's contents) is dynamic. Can someone point in the right direction? Is this even possible?
-
- hardware inventory
- sms_def.mof
-
(and 2 more)
Tagged with:
-
I need to find the following variable (last characters changed) that is located in the registry and need to create a report or collection if any machines have this value in it. What would be the best way of doing this? Has anyone done this before or have any scripts that can pull this information? Would it be easier to create a program to perform a search through the registry and if it's successful to post it's computer name as a text file to a specific open shared folder (not sure if this is possible, sure it is not even sure how to do it just thinking..) Computer\HKEY_Local_Machine\Software\Policies\Microsoft\SystemCertificates\Root\Certificates\AY600DXAIEJANENUEE Thanks,