Skip to content

Instantly share code, notes, and snippets.

@nirleka
Created August 31, 2016 00:51
Show Gist options
  • Save nirleka/a951aefe4563b9d0b715cb7121cfee2c to your computer and use it in GitHub Desktop.
Save nirleka/a951aefe4563b9d0b715cb7121cfee2c to your computer and use it in GitHub Desktop.
Manually start or stop oracle 11 service in Windows
:: First, make oracle services start manually
:: Run servinces.msc
:: Right click oracle* service > Properties
:: Change startup type to manual
:: Run this script if you want to start oracle database
:: PS. Need run as administrator to works
net start OracleVssWriterORCL
net start OracleDBConsoleorcl
net start OracleOraDb11g_home2TNSListener
net start OracleServiceORCL
set /p DUMMY=Hit ENTER to continue...
::Need run as administrator to works
net stop OracleVssWriterORCL
net stop OracleDBConsoleorcl
net stop OracleOraDb11g_home2TNSListener
net stop OracleServiceORCL
set /p DUMMY=Hit ENTER to continue...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment