Enable Remote Registry Service (BAT)

Purpose: Start the Remote Registry service during system startup

In corporate environments, administrative users and support personnel might need to be able to access the remote workstation registry. In these scenarios, the work can be done without disturbing the customer and then just informing the customer that the fix has been made. Unless this is set in the workstation image, you need to enable this afterwards. Luckily it can be done easily through SCCM application deployment. There are plenty alternative ways to do this (GPO, Login script, OS image, Packages, etc.). This method is just as straightforward as any of them and allows you to track its progress through the environment using the built-in tools of SCCM.

Usage: start “Configure” /wait IT_OSD_BAT_EnableRemoteDesktop.bat
Debugging: Occurs during next login. Should you need faster, start it instantly as well.
This can be done by running the following command: sc.exe start RemoteRegistry. The extra registry key is just for SCCM to be used as an application anchor (detection method).

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
REM *********************************************************************************
REM ** Script Name: IT_OSD_BAT_EnableRemoteRegistry
REM ** Created on: 10.10.2011
REM ** Author: Jyri Lehtonen / http://it.peikkoluola.net
REM **
REM ** Purpose: Start the Remote Registry service during system startup
REM **
REM ** License: This program is free software: you can redistribute it and/or modify
REM ** it under the terms of the GNU General Public License as published by
REM ** the Free Software Foundation, either version 3 of the License, or
REM ** (at your option) any later version.
REM **
REM ** This program is distributed in the hope that it will be useful,
REM ** but WITHOUT ANY WARRANTY; without even the implied warranty of
REM ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM ** GNU General Public License for more details.
REM ** 
REM ** History: 
REM ** 1.0 / Jyri Lehtonen / 10.10.2011 / Initial version.
REM **********************************************************************************
 
c:\Windows\System32\sc.exe config "RemoteRegistry" start= auto
REG ADD "HKLM\Software\SCCM\APPS\CFG\Enable_Remote_Registry_Service" /f
REM *********************************************************************************
REM ** Script Name: IT_OSD_BAT_EnableRemoteRegistry
REM ** Created on: 10.10.2011
REM ** Author: Jyri Lehtonen / http://it.peikkoluola.net
REM **
REM ** Purpose: Start the Remote Registry service during system startup
REM **
REM ** License: This program is free software: you can redistribute it and/or modify
REM ** it under the terms of the GNU General Public License as published by
REM ** the Free Software Foundation, either version 3 of the License, or
REM ** (at your option) any later version.
REM **
REM ** This program is distributed in the hope that it will be useful,
REM ** but WITHOUT ANY WARRANTY; without even the implied warranty of
REM ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM ** GNU General Public License for more details.
REM ** 
REM ** History: 
REM ** 1.0 / Jyri Lehtonen / 10.10.2011 / Initial version.
REM **********************************************************************************

c:\Windows\System32\sc.exe config "RemoteRegistry" start= auto
REG ADD "HKLM\Software\SCCM\APPS\CFG\Enable_Remote_Registry_Service" /f

2 Thoughts on “Enable Remote Registry Service (BAT)

  1. J.M. McCauley on February 22, 2014 at 00:24 said:

    Not sure how to use what you created. after I executed it, it says the “service is running” but how do you actually get to the users registry once your connect to the asset via sccm? I am right clicking the asset connect to C$

  2. Jyri Lehtonen on March 23, 2014 at 19:59 said:

    Hi McCauley,

    This is ment as a general IT-support tool, not only for SCCM. Once all your environment workstations have enabled the “Remote Registry Service”, all of your support personnel can access the registries of your workstations during your support cases (if this is what you need).

    You an access a remote computer registry via the “REGEDIT.EXE” internal windows operating system tool. Launch REGEDIT.EXE and click “file” and click “connect to remote registry”.

Leave a Reply

Your email address will not be published. Required fields are marked *


one − one =

Post Navigation