Saturday 28 July 2012

Enable Login as Root in Ubuntu 12.04 Precise Pangolin/11.10 Oneiric Ocelot

Want to enable root logon in Ubuntu 12.04? Well, even though it’s not recommended, it’s still possible to login with the root or administrator account, and this brief tutorial is going to show you how. The reason it’s not recommended is simple; because people make mistakes. Making the smallest mistakes in Ubuntu while login as the root user can completely render your computer inoperable. Besides damaging your system, it also creates security risks to login as the root user. Enable Login as Root in Ubuntu 12.04Precise Pangolin/11.10 Oneiric Ocelot

If you still want to login as the root user after all the risks I mentioned above, then continue below to learn how.

To Enable root, open Terminal and enter following commands:

sudo passwd root
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
Now Restart your pc and login as root.

ubuntu root

Thursday 26 July 2012

"svchost.exe - Application Error"

Method 1

Leave the svchost.exe - Application Error dialog box open, and then follow these steps.

Step1: Check whether settings for the Automatic Updates service and for the Background Intelligent Transfer Service (BITS) are correct

To do this, follow these steps:
  1. Click Start, point to Run, type services.msc, and then click OK.
  2. In the details pane, locate and double-click Automatic Updates.
  3. Click the Log On tab.
  4. Make sure that the Local System account option is selected and that the Allow service to interact with desktop check box is cleared.
  5. Make sure that this service has been enabled in the Hardware Profile list. If this service has not been enabled, click Enable to enable the service.
  6. Click the General tab, and make sure that the Automatic option is selected in the Startup Type list. Under Service status, click Start to start the service if it is not already running.
  7. Repeat steps 2 through 6 for Background Intelligent Transfer Service (BITS).

Step 2: Reregister Windows Update components

To do this, follow these steps:
  1. Click Start, click Run, type REGSVR32 WUAPI.DLL, and then press ENTER.
  2. When you receive the "DllRegisterServer in WUAPI.DLL succeeded" message, click OK.
  3. Type the following commands in the Open box, one after the other, and then press ENTER after each command:
    REGSVR32 WUAUENG.DLL
    REGSVR32 WUAUENG1.DLL
    REGSVR32 ATL.DLL
    REGSVR32 WUCLTUI.DLL
    REGSVR32 WUPS.DLL
    REGSVR32 WUPS2.DLL
    REGSVR32 WUWEB.DLL

Step 3: Rename the Windows Update temporary folder

The temporary folder of Windows Update may be corrupted. In this case, you can rename the temporary folder of Windows Update. To do this, follow these steps:
  1. Click Start, click Run, type cmd, and then press ENTER.
  2. At the command prompt, type net stop Wuauserv, and then press ENTER.
  3. Click Start, click Run, type %windir%, and then press ENTER.
  4. In the folder that opens, locate and rename the SoftwareDistribution folder to SDold.
  5. At the command prompt, type net start Wuauserv, and then press ENTER to start the Automatic Updates service.

Method 2

Follow these steps:
  1. Click Start, right-click My Computer, and then click Properties.
  2. In the System Properties dialog box, click the Automatic Updates tab.
  3. Click Turn off Automatic Updates, and then click OK.
  4. Restart the computer.
  5. Use the Windows Update Web site to install updates manually.
  6. After you install the updates manually, turn on Automatic Updates.

Wednesday 25 July 2012

How to Fix "Generic Host Process For Win32 Services Encountered A Problem and needs to close."?

It's a common error message of Windows XP "Generic Host Process For Win32 Services Encountered A Problem and needs to close." This error is occurred for several reasons. For example, if Internet Explorer suddenly crashes you will see this message. But the great thing is that you can easily solve this type of error message. This page contains the information related to fixing Generic Host Process Error.



 Steps to to Fix "Generic Host Process For Win32 Services Encountered A Problem and needs to close."

You can easily solve the problem or error message "Generic Host Process For Win32 Services Encountered A Problem and needs to close." Just follow any of the following methods:
Note: Both the method is the same. If you like the simple and easy solution then only follow Method 2 and ignore Method 1.

Method 1:

1. Copy the following code [only the bold codes].
@ECHO off

Echo Coded by http://hubpages.com/profile/rancidTaste

reg  add  HKLM\SYSTEM\CurrentControlSet\Services\netbt\parameters  /v  TransportBindName  /t REG_SZ  /d  ""  /f

reg  add  HKLM\Software\Microsoft\OLE  /v  EnableDCOM  /t  REG_SZ  /d  "N"  /f

Echo Coded by http://hubpages.com/profile/rancidTaste

Echo Generic Host Error Problem Is Fixed, Press any key to continue

pause

2. Open a notepad and paste the above copied content to the notepad.
3. Save the file as GenericHostErrorProblem.bat and close it.
4. Double-click on GenericHostErrorProblem.bat and run it.
5. After fixing or removing the errors, it will ask you to press any key to finish.
6. Press any key and that's all to fix the problem Generic Host Process For Win32 Services Encountered A Problem and needs to close.

Method 2:

This is very simple and straight forward. Just download the code form the following link and run it and that's all to solve or fix the problem "Generic Host Process For Win32 Services Encountered A Problem and needs to close."
Download Generic Host Process Error Removal Tool
By following any of the above method, you can easily solve the problem Generic Host Process For Win32 Services Encountered A Problem and needs to close. If you face any problem, then put the problem in the comment section.

Tuesday 24 July 2012

Enable Multiple Remote Desktop Sessions on Server 2008

This article shows how to enable Remote Desktop users to have multiple Remote Desktop Sessions for the same user. By Default, Windows Server 2008 restricts each user to a single Remote Desktop Session.
Click on Start > Administrative Tools > Terminal Services > Terminal Services Configuration.

Right Click on "Restrict each user to a single session" in the "Edit settings" section and choose "Properties".

Uncheck the "Restrict each user to a single session" checkbox and Click OK.

Click OK for the window that opens.

You will need to log off and log back on for the changes to take effect.
You will now be able to connect to multiple Remote Desktop Sessions on the same user account.

Saturday 14 July 2012

How to Change AutoPlay Settings in Windows 7

AutoPlay allows you to set the AutoPlay settings for all media and devices. With AutoPlay you can also change which programs to use to start different kinds of media, such as music CDs or DVDs that contain photos. Eg. you can set for Software and Games CDs to start Installation or run automatically as soon as they are inserted in the CD Drive.

So with AutoPlay you can:


  • Turn On/Off AutoPlay
  • Set default program for media and other files
  • Set default action for a device or type of media

Let's see how to play with these options:

1. Click the Start button to view the Start Menu and then choose the Control Panel option.


2. The Control Panel window opens up. Click on the All Control Panel Items.




3. Window shows all control panel items. Click on AutoPlay.


Window opens up as below. By default the AutoPlay is ON as you can see the checkbox for Use AutoPlay for all media and devices is checked.


4.Turn off AutoPlay completely: Clear the Use AutoPlay for all media and devices check box, and then click Save.



5. Turn off AutoPlay for only one type of media. Click to open AutoPlay.


In the list next to each type of media that you don't want to be asked about, click Take no action, and then click Save.

6. Set Default Program: Click to open AutoPlay.


For Audio CD click Play audio CD using Windows Media Player, for Pictures click View pictures using Windows and for Vedio CD click Play Vedio Cd using Windows Media Player and then Click Save.

7. Set Defualt Action: Click to open AutoPlay.


You can click actions like Take no action, Ask me everytime and Open folder to view files using Windows Explorer for the type of media you want and then click Save.

Friday 6 July 2012

Forgot the Administrator’s Password? – Change Domain Admin Password in Windows Server 2003 AD

The reason for that is that you need to have the local administrator's password in order to perform the following tip, and if you don't have it, then the only method of resetting it is by using the above tool.
Update: After some reader feedback I'm pleased to say that this procedure ALSO WORKS for Windows Server 2008 Domain Controllers. Feel free to send in your feedback. I kept the original page syntax in relation to Windows Server 2003, but you can now perform the same actions on Windows Server 2008.
Lamer note: This procedure is NOT designed for Windows XP since Windows XP is NOT a domain controller. Also, for a Windows 2000 version of this article you should read the Forgot the Administrator's Password? - Change Domain Admin Password in Windows 2000 AD page.
Reader Sebastien Francois added his own personal note regarding the changing of Domain Admin passwords on Windows Server 2003 Active Directory domains (HERE). I will quote parts of it (thanks Seb!):
Requirements
  1. Local access to the Domain Controller (DC).
  2. The Local Administrator password.
  3. Two tools provided by Microsoft in their Resource Kit: SRVANY and INSTSRV. Download them from HERE (24kb).
Step 1
Restart Windows 2003 in Directory Service Restore Mode.
Note: At startup, press F8 and choose Directory Service Restore Mode. It disables Active Directory. When the login screen appears, log on as Local Administrator. You now have full access to the computer resources, but you cannot make any changes to Active Directory.
Login
Step 2
You are now going to install SRVANY. This utility can virtually run any programs as a service. The interesting point is that the program will have SYSTEM privileges (LSA) (as it inherits the SRVANY security descriptor), i.e. it will have full access on the system. That is more than enough to reset a Domain Admin password. You will configure SRVANY to start the command prompt (which will run the 'net user' command).
Copy SRVANY and INSTSRV to a temporary folder, mine is called D:\temp. Copy cmd.exe to this folder too (cmd.exe is the command prompt, usually located at %WINDIR%\System32).
Start a command prompt, point to d:\temp (or whatever you call it), and type:
instsrv PassRecovery "d:\temp\srvany.exe"
(change the path to suit your own).

How to Reset Your Forgotten Windows Password the Easy Way

How to Reset Your Forgotten Windows Password the Easy Way

image[2]
Forgetting your password is never any fun, but luckily there’s a really easy way to reset the password. All you need is a copy of the Windows installation disk and one simple command line trick.

Resetting Your Forgotten Windows Password

Boot off the Windows disk and select the “Repair your computer” option from the lower left-hand corner.

Follow through until you get to the option to open the Command Prompt, which you’ll want to select.

First you’ll want to type in the following command to backup the original sticky keys file:
copy c:\windows\system32\sethc.exe c:\
Then you’ll copy the command prompt executable (cmd.exe) over top of the sticky keys executable:
copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe

Now you can reboot the PC.

Resetting the Password

Once you get to the login screen, hit the Shift key 5 times, and you’ll see an administrator mode command prompt.

Now to reset the password—just type the following command, replacing the username and password with the combination you want:
net user geek MyNewPassword

That’s all there is to it. Now you can login.
Of course, you’ll probably want to put the original sethc.exe file back, which you can do by rebooting into the installation CD, opening the command prompt, and copying the c:\sethc.exe file back to c:\windows\system32\sethc.exe.