I installed Oracle database 11g r2 express in my windows machine. But, whenever I start windows, Oracle gets started and I have to stop the database. How can I prevent it from starting at the start up of windows? i tried to find out it in startup application lists, but it is not there.
I am currently using windows 8.1.
Thank you.
Go to Control Panel, Administrative Tools, then Services.
Look for a Service called OracleServiceXE. It should have "Automatic" Startup Type. Change it to Manual or Disabled by right-clicking it and then choosing Properties.
Works for me on Windows XP and 7. I don't have a Windows 8 machine, but it should be the same steps.
I think the solution provided here is useful:
https://dba.stackexchange.com/questions/62699/revised-question-how-do-i-prevent-oracle-12c-database-from-starting-on-machine
You have two solutions:
1- In Windows OS's in the run, type services.msc and Enter, from the list of services find OracleService and right click and choose Properties. In the General tab in the Startup, Type section choose Manual and click OK and exit. From now on your database doesn't start automatically by your machine's start, but whenever you want to start it you have to go to services.msc and start it manually. You can also do this from Windows Task Manager(from Services tab).
2- Let the Startup Type to be automatic in "services.msc". Open the Windows command prompt (Admin) and type this statement (instead of ORCL use your SID name).
oradim -edit -sid ORCL -startmode manual
Now your database is in a state that idiomatically called idle. You can start your database by logging to SQL*Plus with sysdba privilege and then type startup command.
In Oracle 12c or higher just go to Windows Registry
HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE > KEY_OraDB19Home1 > ORA_ < SID > _AUTOSTART
Change the parameter from TRUE to FALSE
Related
How do you open IIS (Internet Information Services) Manager using Windows 10?
I have installed the developer preview of Windows 10 and can't seem to find IIS Manager? It is not in Control Panel > Administrative Tools.
When I browse to the
folder C:\Windows\System32\inetsrv
it is empty.
I did a full search of my hard drive to find inetmgr.exe and found three copies and none of them would open, when I tried to open them it says "This App cannot Run on your PC" To find a version of the App that works contact the publisher.
I know IIS works because I have ran local ASP.net apps through VisualStudio, but I can't seem to find any way to launch IIS Manager to do some configurations for a site.
Anyone know anything about this?
Thanks to #SLaks comment above I was able to turn on IIS and bring the manager back.
Press the Windows Key and type Windows Features, select the first entry Turn Windows Features On or Off.
Make sure the box next to IIS is checked.
If it is not checked, check it. This might take a few minutes, but this will install everything you need to use IIS.
When it is done, IIS should have returned to Control Panel > Administrative Tools
Under the windows feature list, make sure to check the IIS Management Console
You also need to check additional check boxes as shown below:
Actually you must make sure that the IIS Management Console feature is explicitly checked. On my win 10 pro I had to do it manually, checking the root only was not enough!
#user1664035 & #Attila Mika's suggestion worked. You have to navigate to Control Panel -> Programs And Features -> Turn Windows Features On or Off. And refer to the screenshot. You should check IIS Management console.
Run appwiz.cpl - brings up Programs and Features
Choose "Turn Windows Features On/Off"
Select the IIS Services you need
after turning IIS on (by going to Windows Features On/Off) type inetmgr in search bar or run
To install the IIS Management Console under Windows 10 using Powershell with RSAT installed:
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ManagementConsole -All
Credit and thanks to Mikhail's comment above.
It most likely means that IIS Management Console was not installed, and modern Windows administrator/IT pro should be able to quickly check this by issuing this command:
Get-WindowsFeature *Web*
And if it is missing just quickly add this via the following command:
Add-WindowsFeature Web-Mgmt-Console
GUI options mentioned above are also valid (see answer from #Joe Wu) but PowerShell it is best way to do IT for IT Pro or let's put it as "if you have to do this slightly more often than once a year" :)
Press the Windows Key and type Windows Features, select the first entry Turn Windows Features On or Off.
Make sure the box next to IIS is checked. You good to go.
Launch Windows Features On/Off and select your IIS options for installation.
For custom site configuration, ensure IIS Management Console is marked for installation under Web Management Tools.
I arrived here because I was having the same issue.
If you are here and everything above didn't work, it's likely that you butchered your path somehow.
Go to System -> Advanced System Settings -> Advanced -> Environment Variables -> Machine or User and add the following entry to the end, or append to the existing, separating with a semi-colon:
C:\Windows\System32\inetsrv
After closing and opening your shell, you should now be able to access inetmgr from the command line.
I'm using Windows Server 2012, and I want to disable the cmd and the PowerShell for the clients. I've searched in the Group Policies but i didn't find where I can do this. Please can somebody help me?
Disable access to powershell:
In the Group Policy window for those users, on the left-hand side, scroll down to User Configuration > Administrative Templates > System > Don’t run specified Windows applications.
In the properties window that opens, click the “Enabled” option and then click the “Show” button.
In the “Show Contents” window add --> powershell.exe
User Cfg - Admin Templates - System - Prevent access to the command prompt
Prevents users from running the interactive command prompt, Cmd.exe. This setting also determines whether batch files (.cmd and .bat) can run on the computer.
If you enable this setting and the user tries to open a command window, the system displays a message explaining that a setting prevents the action.
Note: Do not prevent the computer from running batch files if the computer uses logon, logoff, startup, or shutdown batch file scripts, or for users that use Terminal Services.
I have no idea about powershell anything.
I have installed Oracle 11g on Windows 7 successfully. But, when I am creating a database using DBCA, it says init.ora (access denied), at the last step, and stops. I logged into the system using admin.
I have manually changed the settings of that directory where the DB file is created. But have had no success. Does anyone have a solution?
This is in Oracle 12c running on my Windows 10 PC.
Right click on the "CMD" before opening the command prompt and
Click on "RUN AS ADMINISTRATOR" so the command prompt opened with Full Administrator privileges
Call the "DBCA" assist by typing DBCA in this command window
The database creator assistant opens, and everything after this step goes very well.
Sounds like you haven't followed the installation guide. A typical error if you have not added the user to the domain group.
I jumped into the same issue today. The issue will keeping come out no matter you're logged in as admin or not (in most cases, we logged in as admin, same as me).
I get pass the issue as : press Windows key to open Start Menu, type in 'dbca', when dbca.bat shows up in Programs, right click and select 'Run as administrator', everything goes fine now !
Running the very nice BGInfo tool to uniquely identify various computers. However, in trying to run on Windows 2008 Server R2, I am getting following error:
"An error occured opening the Default Desktop registry key. Please ensure the current user has rights to change the Logon Desktop settings: Access is denied."
The program is started via a shortcut placed in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup", and that shortcut is specifying a .BGI configuration file (versus reading settings from the Registry). Thoughts on why the error happens for user other than the Administrator?
On a more in-depth level, I am curious if anyone knows why BGInfo must open the "default desktop registry key" and what it is updating in the "logon desktop settings" (phrase in quotes taken from the original error message)?
BGInfo needs to update the registry to set a default login desktop for all RDP users.
You need to run BGInfo with elevated privileges initially. That can be done as described by creed929 or by right-clicking on bginfo.exe and running as administrator. Once the settings are saved, subsequent user logins will not need the elevated privilege to see the BGInfo background.
From an administrator account. I was able to right click on bginfo.exe. Go to Compatibility tab and check the Run this program as an administrator. This seemed to then allow me to apply the settings without the Default Desktop registry key error.
My operating system is Windows 7 32bit. I installed RedMon1.7, Ghostscript 8.71 and GSview 4.9; installations were successful.
I went to Add New Local Printer in Windows Devices and Printers, clicked on Create A New Port, and selected Redirected Port from the Type of Port list. Clicked Next and in the Add New Port window I named RPT1: and clicked OK but it says Specified port cannot be added. Operation could not be completed (error 0x00000001)
I tried giving different names to the port, RPT2:, RPT4:, VPport: etc but all gave same result. Disabled Windows Firewall and tried but it continues to give same error, Disabled the Antivirus (Avira) but no change.
What can be preventing windows 7 from adding redirected port?
BTW I was following instructions in this tutorial in order to create a postscript printer.
http://www.stat.tamu.edu/~henrik/GSPSprinter/GSPSprinter.html
Appreciate any ideas or suggestions. Thanks
Run cmd.exe as Administrator and then run:
rundll32 printui.dll,PrintUIEntry /il
from the elevated cmd.
Go to your Start Menu,
Type Print,
Right-Click "Print Management",
Select "Run as administrator",
In Print Management; Expand "Print Servers" and Select "Ports".
Right-Click in the "Ports" pane (on the right hand side) and Select "Add Port...".
I'd also recommend configuring a Port from Print Management, as opposed to trying to do it in a Printers Properties. ;)
Adam Reed describes a workaround in his blog:
http://borntoidentify.blogspot.com/2010/09/configuring-virtual-printer-using.html
Not very comfortable, but works for me ...
EDIT: This link appears broken, but here's the content:
https://web.archive.org/web/20120628120209/http://borntoidentify.blogspot.com/2010/09/configuring-virtual-printer-using.html
The gist is that under Win7, you need to run explorer with elevated rights. This can be done using another browser, or, as mentioned in the comments on the original post:
Open a CMD window by right clicking and running as administrator
Kill the process explorer.exe from the task manager
Run explorer.exe from the command prompt window, now as an administrator.
Be very careful when running explorer as an administrator.
You need to enable Admin mode OR log with the Admin account!
This is cause by the new Vista/Win 7 security system.
Try reseting the firewall (Windows 7)
(be warned tho, the firewall will reset to the default setting)
*go to Control Panel
*go to Windows Firewall
*on the left choice pick "Restore Defaults"
It works for me, i hope it works for you.
F3lix's rundll32 method works but after you've created the port you most probably would need to configure its settings. Elsewhere in the net there are instructions to open Port management as Administrator, but in Windows 7 Home that seems to be very much impossible. One can only view the virtual port settings. The only workaround I found is to edit registry directly with the Registry editor at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Redirected Port\Ports\RPT1:
(Replace your port name in the end.)
It seams to be tricky. In my case it only works, after creating an new User account with the name "admin" / group " Administratoren" (de).
Before with my real Nickname User "Nick.." / group "Administratoren" (de) it dosent work´.
Takes several hours to discover ...
Accepted solution did not work for me...I found an other command line that worked well (I'm on windows 10):
%systemroot%\system32\printmanagement.msc
It opens the print management in administrator mode, and I was able to create the port with no problems.