Pages

Showing posts with label Windows 2007. Show all posts
Showing posts with label Windows 2007. Show all posts

Saturday, November 17, 2012

Enable/Disable USB Ports

I had a sudden thought on doing things the hard way. So I just wanted to do something that will be done other than the ordinary way. And thats how I ended up with tampering my USB ports. I really hate simple access restrictions :P
After all its is very useful. I found the following stuff which partially worked.

“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR”

Right Click “Start” and Click modify
  • To enable USB ports: change the value from “4″ to “3″
  • To disable USB ports: change the Value for “3″ to “4″

I got to admit. I am dumb to have expected this to save me. But atleast I learnt something :)

Saturday, October 29, 2011

Configuring ODBC Connection for Oracle in Windows 7

1. In order to configure a ODBC connection for Oracle in windows 7 follow the following steps

2. Goto Start->Control Panel->Administrative Tools->Data Sources (ODBC)

3. The following screen titled “ODBC Data Source Administrator” will be opened up


4. Now choose the System DSN tab and click on add.

5. This will open up a new window titled “Create New Data Source”

6. Scroll down to “Microsoft ODBC for Oracle” and click Finish



7. This will result in the following window. Provide the credentials as required and click ok

Tuesday, October 18, 2011

Installing a IIS Server in Windows 2007

This helps you work with inbuilt server in windows that helps you work with asp pages etc
1. Open the control panel and click on the “Unistall a program” option. Now choose “Turn Windows Feature on or off” as illustrated by the following image

2. Now from the list of windows services that popup select “Internet Information Services” and don’t bother about the sub services that are selected or deselected for now. Just accept the defaults



3. This will start an installer and a popup with a progress bar will appear when you click ok. Once that is complete you are ready to go with the IIS



4. Now you need to know how to check whether the IIS server is running or not. That’s correct. I am speak about that in the forth coming steps

5. Open up the device manager in windows 2007



6. Now Select “Internet Information Services(IIS) Manager” under the “Services and Applications” as highlighted in the Image

7. Now take a close look at the screen that appears on the right side. I believe you will understand the importance of the highlighted section. If not may be u are comparably as dumb as me . U can start, stop and restart your IIS server using those options ha ha lol



8. Select Default Web Site and take a close look at the options in the right hand side.You would have already noticed that you see a new set of actions being displayed there. Don’t ask me how they got there…cos I am not ready for those questions yet 



9. Now select bindings and select edit in the popup box. Now you will be able to specify the port for your server to operate on in your machine. I prefer to change this one cos I test run a lot of server on my machine. For example I have Lotus Domino Server, Apache Tomcat, IIS etc.. So I prefer to have a custom port for every thing to avoid conflicts. It is not mandatory for you to change this. But its better to leave port 80 undisturbed atleast for training purposes. Also be warned not to use any ports that are already in use. Google about this stuff and you will get a lot of really good advice on choosing a proper port for your machine. If you are in a corporate world, SYS/Network admins are the first people to speak about this to. Just to ensure that we don’t mess it up for them 



10. Now open up your local iis server in the browser. In my case the url is http://localhost:8081 and the page looks like



11. To add your custom pages you got to navigate to the following page and add your file



12. Now add a helloworld.html file to this folder and put the following html tags into it.

Hello World!

And preview the same in the browser. Thus I got my Hello world on the IIS server


Well… hope this helps 