oracle卸载删除注册表脚本

一.前言

在我们操作系统中,有时要卸载oracle数据库,每一次都要去删除win下的注册表,为了方便删除注册表的信息,下面通过一种删除注册表快捷的脚本。

二.脚本信息

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
Windows Registry Editor Version 5.00
 
[-HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE]
 
[-HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ODP.NET]
 
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\StartMenu\Programs\Oracle - OraClient11g_home1]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\eventlog\Application\Oracle.VSSWriter.CD]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\OracleServices for MTS]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\Oracle.portal]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\OracleDBConsoleportal]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\OracleDBConsoleorcl]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\eventlog\Application\Oracle.VSSWriter.CD]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\OracleServices for MTS]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\Oracle.portal]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\OracleDBConsoleportal]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\eventlog\Application\Oracle.cd]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\OracleDBConsoleorcl]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11\Performance]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11\Performance\KEY_OraDb11g_home1]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsolemain]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsolemain\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsolemain\Enum]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsoleoracl]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsoleoracl\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsoleoracl\Enum]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleJobSchedulerMAIN]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleJobSchedulerMAIN\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleJobSchedulerORACL]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleJobSchedulerORACL\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleMTSRecoveryService]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleMTSRecoveryService\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleMTSRecoveryService\Enum]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1ClrAgent]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1ClrAgent\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1TNSListener]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1TNSListener\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1TNSListener\Enum]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleRemExecService]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleRemExecService\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleRemExecService\Enum]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceMAIN]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceMAIN\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceMAIN\Enum]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceORACL]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceORACL\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceORACL\Enum]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterMAIN]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterMAIN\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterMAIN\Enum]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterORACL]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterORACL\Security]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterORACL\Enum]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\OracleServices for MTS]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Oracle.main]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Oracle.oracl]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Oracle.VSSWriter.MAIN]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Oracle.VSSWriter.ORACL]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\OracleDBConsolemain]
 
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\OracleDBConsoleoracl]
 
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData]
 
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData\CurVer]
 
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData.1]
 
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData.1\CLSID]
 
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData]
 
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData\CurVer]
 
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData.1]
 
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData.1\CLSID]
 
[-HKEY_CLASSES_ROOT\ORCLMMC.About]
 
[-HKEY_CLASSES_ROOT\ORCLMMC.About\CLSID]
 
[-HKEY_CLASSES_ROOT\ORCLMMC.About.1]
 
[-HKEY_CLASSES_ROOT\ORCLMMC.About.1\CLSID]
 
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData]
 
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData\CurVer]
 
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData.1]
 
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData.1\CLSID]
 
[-HKEY_CLASSES_ROOT\OracleConfig.OracleConfig]
 
[-HKEY_CLASSES_ROOT\OracleConfig.OracleConfig\CurVer]
 
[-HKEY_CLASSES_ROOT\OracleConfig.OracleConfig.1]
 
[-HKEY_CLASSES_ROOT\OracleConfig.OracleConfig.1\CLSID]
 
[-HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase]
 
[-HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase\CurVer]
 
[-HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase.1]
 
[-HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase.1\CLSID]
 
[-HKEY_CLASSES_ROOT\OracleHome.OracleHome]
 
[-HKEY_CLASSES_ROOT\OracleHome.OracleHome\CurVer]
 
[-HKEY_CLASSES_ROOT\OracleHome.OracleHome.1]
 
[-HKEY_CLASSES_ROOT\OracleHome.OracleHome.1\CLSID]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer\CLSID]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer\CurVer]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer.5]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer.5\CLSID]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession\CLSID]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession\CurVer]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession.5]
 
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession.5\CLSID]
 
[-HKEY_CLASSES_ROOT\OracleProcess.OracleProcess]
 
[-HKEY_CLASSES_ROOT\OracleProcess.OracleProcess\CurVer]
 
[-HKEY_CLASSES_ROOT\OracleProcess.OracleProcess.1]
 
[-HKEY_CLASSES_ROOT\OracleProcess.OracleProcess.1\CLSID]
 
[-HKEY_CLASSES_ROOT\ORADC.ORADCCtrl.1]
 
[-HKEY_CLASSES_ROOT\ORADC.ORADCCtrl.1\CLSID]
 
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData]
 
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData\CurVer]
 
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData.1]
 
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData.1\CLSID]
 
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData]
 
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData\CurVer]
 
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData.1]
 
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData.1\CLSID]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup\CLSID]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup\CurVer]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup.1]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup.1\CLSID]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle\CLSID]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle\CurVer]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle.1]
 
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle.1\CLSID]
 
[-HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon]
 
[-HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon\CurVer]
 
[-HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon.1]
 
[-HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon.1\CLSID]
 
[-HKEY_CLASSES_ROOT\ORCLMMC.About]
 
[-HKEY_CLASSES_ROOT\ORCLMMC.About\CLSID]
 
[-HKEY_CLASSES_ROOT\ORCLMMC.About.1]
 
[-HKEY_CLASSES_ROOT\ORCLMMC.About.1\CLSID]
 
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData]
 
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData\CurVer]
 
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData.1]
 
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData.1\CLSID]
 
[-HKEY_CLASSES_ROOT\EnumOraHomes.EnumOraHomes]
 
[-HKEY_CLASSES_ROOT\EnumOraHomes.EnumOraHomes\CurVer]
 
[-HKEY_CLASSES_ROOT\EnumOraHomes.EnumOraHomes.1]
 
[-HKEY_CLASSES_ROOT\EnumOraHomes.EnumOraHomes.1\CLSID]

创建一个文本文件,修改后缀名为.reg,然后保存。执行脚本信息,添加注册表信息。 本脚本适用于oracle11g的卸载

坚持原创技术分享,您的支持将鼓励我继续创作!