Thursday, July 23, 2009

“System automatically logging off after giving username and password”

--------------------------------------------------------------------------------------------------------
OS Affected: Windows 2000,XP,2003,Vista

Problem
------------
Entering your Username & Password


Loading personal setting will appear




After the above loading settings it will "Log off" & below welcome screen will appear




This problem is due to the adware Adware.BlazeFind ,which will alter following registry value HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon value “userinit” from “%Windir%\System32\Userinit.exe” to “%Windir%\System32\Wsaupdater.exe”
After removing this virus,this registry entry remain same. So while logging on the system it will try to execute “wsaupdater.exe” which may not be there in the given path so system unable to process user initialization and automatically logged off. In this scenario we cannot login into system even in “safe mode” or “safe mode with command prompt” also.

Solution
-----------

1. Boot system from XP cd and go to recovery console. (or boot from any media which will support NTFS Partition)
2. Go to %Windir%\system32
3. Check “userinit.exe” is exists in the system32 folder, if not copy from another working system.
4. Copy “userinit.exe” to “wsaupdater.exe” (NB: Do not rename, because both are needed for next boot.)
5. Reboot the machine in safe mode using F8 button while booting.
6. Navigate following registry key
a. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
b. Locate value “userinit” in left panel.
c. Change data from “%Windir%\System32\Wsaupdater.exe” to “%Windir%\System32\Userinit.exe”.
d. Close registry editor.
7. Restart windows in normal mode

FYI Naresh.....

Tuesday, July 14, 2009

Enabling administrator login in Windows Vista (Preloaded Machines)

Problem
-----------
Could not logging in to system using default user account, it was asking for password for the default user


Solution
------------
Reboot the system, press F8 after post screen and select the safe mode with command prompt from start menu then go to command prompt and enable administrator using following command

"net user administrator /active"


Reboot the system and login as administrator without password


FYI Naresh !!!!

Monday, July 13, 2009

“Windows XP OS is booting but not getting the Desktop”

“Windows XP OS is booting but not getting the Desktop”
------------------------------------------------------------------------------------------------
Hardware Details/OS : Desktop/ Windows XP,
Problem : Desktop is not coming. Only mouse cursor is coming, after giving
Username and password, just cursor is coming.








Solution

-----------
1. Boot through Windows XP CD using repair option come to recovery console.
2. This problem is caused due to missing or corrupted explorer.exe and browseui.dll ; we have to copy explorer.exe and browseui.dll to their respective path.
3. After coming to console go to Drive Letter of CD example E:\ and go to i386 directory.
4. From there give command as follows,
E:\expand explorer.ex_ c:\windows
After this new file explorer.exe will be extracted to windows directory
5. Then with same procedure extract browseui.dll
E:\expand browseui.dl_ c:\windows\system32
Now Browseui.dll file is extracted.
6 Reboot the machine from hard disk in single user mode
6. After doing these 2 steps, Windows started fine and desktop is coming.


Value Addition
--------------------

Explorer.exe

Explorer.exe is the Windows Program Manager or Windows Explorer
The Windows Explorer debuted in Windows 95 as a replacement for the older Windows 3.x File Manager. It could be accessed by double-clicking the new My Computer desktop icon, or launched from the new Start Menu (which succeeded the earlier Program Manager). There is also a shortcut key combination – Windows key + E. Successive versions of Windows (and in some cases, Internet Explorer) introduced new features and capabilities, removed other features, and generally progressed from being a simple file system navigation tool into a task-based file management system.
While “Windows Explorer” is a term most commonly used to describe the file management aspect of the operating system, the Explorer process also houses the operating system’s search functionality and File Type associations (based on filename extensions), and is responsible for displaying the desktop icons, the Start Menu, the Taskbar, and the Control Panel. Collectively, these features are known as the Windows Shell.
In the Explorer window, Files and Folders are displayed by a ListView component (SysListView32) making up the majority of the window. When a user chooses to “Explore” the left hand side will display a TreeView, showing the folder structure

BrowseUI.dll

BrowswUI.dll is the one of the major five components of Internet Explorer
Internet Explorer uses a componentized architecture built around the Component Object Model (COM) technology. As said it is made up of five major components, each of which are contained in a separate .dll and expose a set of COM interface that enables them to be hosted by the Internet Explorer main executable, iexplore.exe
WinInet.dll
WinInet.dll is the protocol handler for HTTP and FTP. It handles all network communication over these protocols.
URlMon.dll
URLMon.dll is responsible for MIME-type handling and download of web content.
MSHTML.dll
MSHTML.dll houses the Trident rendering engine which is responsible for displaying the pages on-screen and handling the Document Object Model of the web pages. MSHTML.dll parses the HTML/CSS file and creates the internal DOM tree representation of it. It also exposes a set of APIs for runtime inspection and modification of the DOM tree. The DOM tree is further processed by a layout engine which then renders the internal representation on screen. Internet Explorer does not include any scripting functionality natively. Rather MSHTML.dll exposes another set of APIs that allow any scripting environment to be plugged-in and access the DOM tree. Internet
Explorer 8 includes the bindings for the Active Scripting engine (which is a part of Microsoft Windows) is provided, which allows any language implemented as an Active Scripting module to be used for client-side scripting. By default, only the JScript and VBScript modules are provided; third party implementations like ScreamingMonkey (for ECMAScript 4 support) can also be used. Microsoft also makes available the Microsoft Silverlight runtime that allows CLI languages, including DLR-based dynamic languages like IronPython and IronRuby, to be used for client-side scripting.
ShDocVw.dll
ShDocVw.dll provides the navigation, local caching and history functionalities for the browser.
BrowseUI.dll
BrowseUI.dll is responsible for the browser user interface, including the browser chrome, which houses all the menus and toolbars.

FYI.................Naresh !!!

"Limited Virtual Memory Error" in Windows XP SP2


"Limited Virtual Memory Error" in Windows XP SP2
-------------------------------------------------------------------------------------------------
H/w Details: IBM E-Series Server PIII, 512MB DDR,18GB RAID Volume.
S/w Details: Windows XP Profession SP2
Problem: Error coming while booting telling "Limited Virtual Memory".
Error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Limited Virtual Memory
Your system has no paging file, or the paging file is too small.
To fix this problem, go to System in Control Panel, click the Advanced tab, and under Performance, click Settings. On the Advanced tab, click Change. Click 'Custom size,' and then type an initial or maximum paging file size".
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Solution
---------
This solution is with reference of MS Knowledge Base No: 315270
As per the KB, the cause of this error is because Administrators account dont have correct NTFS permission to create Paging file in NTFS Volume.
1. Boot your machine into safe mode.
2. Start->Programs->My Computer->Right Click->Properties
->Advanced->Under Performance->Settings->Advanced
in Virtual Memory->Change
In this windows, we will be able to see the Volumes which are set with Paging files. If the Administrators do not have correct permission, even after setting the page file, after next reboot we will be prompted with the above said error. For this we need to set the permission.
3. Go into My Computer and select the corresponding drive(Ex C:)and get the properties of this drive through "File->Properties or Right-Click->Properties.
4. On Security tab, Click Add and \\computername\system.
5. and Add -> \\computername\Administrators.
6. Complete this task and give OK.
7. Now set your virtual memory settings of your choice and make sure that it is set on next reboot.
Reference: Microsoft KB:315270
Applicable to:
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional
Microsoft Windows XP Professional x64 Edition


Value Addition
------------------
What is Virtual Memory?
Virtual Memory as its name implies, it is a imaginary memory area supported by OS (Eg: Windows, Linux.) in conjunction with Hardware. It creates application program the impression that it has contiguous working memory space to work on. Also virtual memory can be defined as "Alternate Set of Memory Addresses" which will be used by application programs to store their instructions and data.
While the program is actually executed, the virtual addresses are converted into real memory addresses.




Why virtual memory required?
Virtual memory is not only for extending physical memory space by using hard disk space. It serves main functionality to provide free space to application program by copying the physical memory contents of programs which are inactive.
For example, We have 128MB of RAM Size. if you load the operating system, an e-mail program, a Web browser and word processor into RAM simultaneously, 128 megabytes is not enough to hold it all. If there were no such thing as virtual memory, then once you filled up the available RAM your computer would have to say, "Sorry, you can not load any more applications. Please close another application to load a new one." With virtual memory, what the computer can do is look at RAM for areas that have not been used recently and copy them onto the hard disk. This frees up space in RAM to load the new application.
Because this copying happens automatically, you don't even know it is happening, and it makes your computer feel like is has unlimited RAM space even though it only has 128 megabytes installed. Because hard disk space is so much cheaper than RAM chips, it also has a nice economic benefit.

Here for you............... Naresh !!!