7.14.2009

ALL about WINDOWS services stuff

This post correlated with previous post. It is about the stuff about windows services, like how to starting and stopping service, delete service etc.

Using Command Line [Start - RUN type:CMD] to start and stop a service.

C:\>net start|stop [name of service]

For opening services panel [service list in GUI] : START - RUN , type : services.msc

Listing services in console :
C:\>sc query

List of services on the box is listed in registry located in :

\\HKEY_LOCAL_MACHNINE\SYSTEM\CurrentControlSet\Services
-You can delete the service manually by deleting keys over there-

OR...you can delete a running service via console using command SC :

C:\>sc delete [name of service]



Delete Services Manually - Windows

START --> RUN
type : regedit
then navigate to the following :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

Find software you have uninstalled and left running service behind and then remove it

REBOOT your box,,;))

5.03.2009

How to activate Windows Server 2008

Well, recently I've tried to activate my LAB's Server. It is Windows Server 2008. It will be expired if I don't activate it till the day after tomorrow. and.....this is the way how to do it :
  1. If you are in one of campus or something that used proxy and enclosed with user authentication as well as its password, you have to find another internet connection that doesn't using authentication. Because I've been tried it, and the result is not so good. It comes error. But, if you have direct connection internet, It is no problem..
  2. Using command prompt just type :
  • c:\windows\system32\>cscript \windows\system32\slmgr.vbs /ipk SERIAL-NUMBER-SEPARATED-BY-DASH
  • c:\windows\system32\>cscript \windows\system32\slmgr.vbs /ato


That's all..
Good Luck...

4.09.2009

Remote Connection on SQL Server 2005 Express Edition

If we 're gonna use SQL Server 2005 Express Edition in remote connection do these steps :
  1. Open SQL Server Surface Area Configuration via Start Menu->All Programs->Microsoft SQL Server 2005->Configuration Tools->SQL Server Surface Area Configuration
  2. Choose Surface Area Configuration for Service and Connections
  3. Expand MSSQLSERVER by clicking plus (+) sign
  4. Expand Database Engine and click Remote Connections
  5. In the right panel navigate the radio button to "Local and remote connections" then choose "Using both TCP/IP and named pipes"
  6. Apply...
  7. The NEXT steps :...../\/\/\/\/\/\/\/\/\/\/\/\
  8. Open the SQL Server Configuration Manager via Start Menu->All Programs->Microsoft SQL Server 2005->Configuration Tools->SQL Server Configuration Manager
  9. Expand SQL Server 2005 Network Configuration and then click Protocols for MSSQLSERVER
  10. In the right panel, there are kind of protocol that is used by MSSQLSERVER. ENABLE all of them by double clicking it and change the value of Enabled to YES
  11. Double click TCP/IP in the right panel and then ENABLE all IP address within it, then press OK
  12. Back to SQL Server Configuration Manager and expand the SQL Native Client Configuration until we found Client Protocols and ENABLE all of protocols in the right panel by double clicking it and change the option of Enabled to YES
  13. And the last step is go to SQL Server 2005 Services in the left panel and then ENABLE all of the services in the right panel.
  14. Restart SQLExpress service!

4.08.2009

Create user and its own database on phpmyadmin

Now, we can try to create an user and its own database via phpmyadmin. We know that phpmyadmin is one of tools to manage our MySQL database via website. Here there are how to do it :

Open phpmyadmin with your browser: http://localhost/phpmyadmin.
First, we have to make a database for that user.
Then create user and its attributes, like password etc.
If we want that user only has full privilege to the database we had made before, then we go to Database -specific privileges-. On the options ‘use text-field’ choose the database we’ve made before then click options CHECK ALL and the last press GO

Done! The database has its own owner. Only the owner and root user can access into the database

Mozilla typing problem

Hmmm...
When I used my favorite browser, there is an anomaly within it. The character I typed is printed out from right to the left in the address bar. So...??? what I am supposed to do to fix that problem..
Actually, I asked someone beside me to solve the problem. He said that I have to close firefox process via TASK MANAGER. You got it..??
No..??
OMG!!!..
Just right click your taskbar and select TASK MANAGER, you can do that by pressing CTRL + ALT + Del simultaneously. Find 'firefox.exe' in Processes TAB of Task Manager. Click it, and terminate it by pressing End Process button..