Saturday, December 25, 2010

"Setup Cannot Copy the File Staxmem.Dll" Error Message

"Setup Cannot Copy the File Staxmem.Dll" Error Message
My god... It almost landed me in the midst of nowhere.
I was performing a repair of Windows XP and at a particular point, I got stuck up.
This staxmem.dll problem.


I could see the file in i386 folder of the CD as well as in Directory... but the copy error remained despite of my efforts to get the file from alternate locations.
Then I consulted Google- my ultimate Guru- and found so many pages with such problems.
Mostly answered by MVPs and other Masters of Computer Scince........ but all the solutions lead me again to the same dead end.
In fact, his was not the answer exactly I needed to my problem, but something like that .
So, I derived a way out of that solution to solve my problem.
Here during the installation, I activated a Command Prompt.
(How to do that...? See my Next Post....!)
Now give the following command on the Command Prompt:-
esentutl /g %windir%\security\database\secedit.sdb
Enter
Now things happen as you see in the fllowing screenshot.

Now give the next command in the Command Prompt:-
esentutl /p %windir%\security\database\secedit.sdb
The following Warning Message is displayed:-

Give OK and the following things happen as shown in the Screenshot.
When the Command completes.....
Press the 'Retry' Button on the Copy Error Message Box (First Picture).
There won't be any Staxmem.dll error and the file get installed easily....
Wow and now my installation is complete.....
Thanks to the one who provided me a clue......

Wednesday, December 22, 2010

TELNET IN WINDOWS 7- HOW TO GET IT?

When you go to a command prompt in Windows 7 and give our way old Telnet command, oh.... it says "Telnet is not recognized as an internal or external command, operable program or batch file".
Don't worry... Telnet is not enabled in Windows 7 by default. It is very easy to bring Telnet back in action. Follow the steps....
Start Menu > Control Panel > Programs and Features
On the left side border, you will find "Turn Windows features on or off".
Click it and the folowing window appears.

Select Telnet Client (As Underlined in the picture)
Press OK.
A Progress Bar that shows the configuration appears and completes itself.
Now close everything...
Go to a Command Prompt....
and
Telnet.
Ya it is there....

Monday, December 13, 2010

BACKUP ERROR: VOLUME SHADOW COPY CREATION: ATTEMPT1 TIMED OUT BEFORE FUNCTION COMPLETED. ERROR RETURNED WHILE CREATING THE VOLUME SHADOW COPY 0xfffff

BACKUP ERROR: " VOLUME SHADOW COPY CREATION: ATTEMPT1 TIMED OUT BEFORE FUNCTION COMPLETED. ERROR RETURNED WHILE CREATING THE VOLUME SHADOW COPY 0xfffff . ABORTING BACKUP."


Interesting and more over annoying message. This is a nightmare for Sysadmins and Backup Operators mainly observed in Windows 2003 Servers and XP. Let's resolve it by following the below points exactly:- All the following commands are to be executed on a Commpand Prompt.




(1) On Command Prompt type vssadmin list writers
The following screen opens.



(2) If there is no such display comes, C:\Regsvr32 ole32.dll
(3) Run Step-1
(4) cd %windir%\system32
(5) Net stop vss (message displays as service stopped)
(6) Net stop swprv
(7) regsvr32 ole32.dll (for every successful command, the following screen appears)



(8) regsvr32 oleaut32.dll
(9) regsvr32 vss_ps.dll
(10) vssvc /register (MySQL repairs itself. Do not interrupt).
(11) regsvr32 /i swprv.dll
(12) regsvr32 /i eventcls.dll (or) regsvr32 eventcls.dll
(13) regsvr32 es.dll
(14) regsvr32 stdprov.dll
(15) regsvr32 vssui.dll
(16) regsvr32 msxml.dll
(17) regsvr32 msxml3.dll
(18) regsvr32 msxml4.dll
(19) net start vss
(20) net start swprv

That's all and this should solve the problem.
Now run the backup and see for the difference.

Saturday, November 27, 2010

COMMAND PROMPT FOR SYSTEM ADMINISTRATORS

Here I post something for the System Administrators, a set of most useful commands those can be executed from a Command Prompt.

In a Windows Server Domain, it become inevitable to make a change in certain client's Policy or update the Group Policy of a single PC. Administrators always prefer the Snap-in management Method... but here let's do it in old school method.
TO ACCESS THE POLICY SNAP IN OF REMOTE PC:-
Open Command Prompt
gpedit.msc /gpcomputer:
Here you may address the PC either by its IP Address or by its Domain Name
for example-
gpedit.msc /gpcomputer: 192.168.1.75
OR
gpedit.msc /gpcomputer: adminspc

The Group Policy Snap In of the specified PC opens up. You may amend as required and close the SNAP IN.

Now to make the change effective immediately-
GPUpdate /target: User /force /wait
The Wait indicates the time wait (default is 600 second) before applying the policy.
Example
GPUpdate /target: adminpc User /force /wait:2
Here wait:2 is waiting 2 seconds.

You may delve into much more- On Command Prompt, try
Gpedit /?

Friday, April 23, 2010

HOW TO ACTIVATE WINDOWS 7: STEP BY STEP

For all those having difficulty / problems for activating Windows 7, here is a superb step-by-step guide by Ask Dr. Tech.

Follow the link and you will get step-by-step instructions with ample Screen Shots.

http://www.askdrtech.com/solutions/post/How-To-Activate-Windows-7-by-Phone.aspx

Sunday, February 28, 2010

ADDING SAFE MODE TO BOOT LIST

Atleast once, every PC user had the requirement of booting on to Safe Mode for one or other problem rectification. Normally it is done by pressing the F8 key while booting on and going to the boot menu and then selecting the Safe Mode options. At times this become tedious because of missing the right time in pressing F8 or restrictions in some motherboard specifications those provide a drive choice menu etc.

The problem can be solved by adding a line to the boot.ini file. I will describe it in the following lines. To perform the following actions, you must be a member of the Administrator group.

STEP-1

Start Menu > Run
Type cmd
Enter


Command prompt opens up.

Navigate to the root Drive C:\ by typing cd \
(Here I assume that your Windows is in C Drive)

Here type attrib -s -h -r boot.ini

STEP-2

Now go to
Start Menu > Run
Type C:\boot.ini
Enter


The boot.ini file opens up.
Add the following lines as the last line.
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=Microsoft Windows XP-SafeMode" /fastdetect /Safeboot:minimal/SOS/bootlog

Now close the file and it will prompt you to save changes. Save the changes by clicking YES.
Go to the already opened Command Prompt and type the following:-
attrib +s +h +r boot.ini

Close the command prompt and restart your System.
Now after BIOS you will get an Option Menu. Here you may boot into your Windows normally or you may boot into Safe Mode.

If you feel problem in doing STEP-2 there is an easier way.
Right click MyComputer icom on desktop and select properties.
System Properties box opens up.
Click the
Advanced tab.
Go to
Startup and Recovery and click settings. Startup and Recovery box opens up.
Click the
Edit button and the boot.ini file opens up.
Here you may add the line as mentioned in STEP-2 and close the file and save it.


Thats all.

If your Windows is not in C: drive, ask me. I will guide you further.
pradeepthegreat2010@gmail.com

FINDING DRIVE LOCATION OF WINDOWS

Many novices find it difficult to decide in which drive their Windows OS is installed.
How to check it?

Start Menu > Run
Type %systemroot%
Enter

A window opens and in the address you may see C:\Windows or D:\Windows etc.

Other commands you can try are:-

%systemdrive% - Opens the Drive where Windows is installed
%windir% - Opens up the Windows Directory

That's all.

AUTOMATIC OPENING (POP OPEN) OF A FOLDER ON LOGON

Many times it was observed that a folder- some times My Documents, otherwise System32- pops open immediately after logon. This is normally due to a registry mismanipulation. The problem can be solved in the following manner.

To perform the following actions you must be a member of Administrator group.

Start Menu > Run
Type regedit
Enter

Registry Editor opens.

Navigate to the following key-
HKEY_LOCAL_MACHINE > Software > Microsoft > Windows NT > Current Version > Winlogon
On the right pane, select the key Userinit and modify the value as - C:\Windows\System32\Userinit
(Value can be modified by double clicking the key and then type the value in the following box.)

Now navigate to-
HKEY_CURRENT_USER > Software > Microsoft > Current Version > Explorer > Advanced
On the right pane, change the value of key PersistBrowsers to 0.
Close the Registry Editor.

Restart the PC and the problem is solved.

Questions ?- pradeepthegreat2010@gmail.com

Monday, February 22, 2010

CAN NOT FIND SCRIPT ENGINE "VBSCRIPT" FOR SCRIPT ... MESSAGE ON LOGON

Recently I have observed the subject problem in one of the Windows XP Pro SP-I PC. This annoying message popped up on every logon quoting some script name. The reason behind was a corrupted or missing DLL file possibly by a malicious activity which was healed by an Antivirus.
How to fix it?
An extensive search in Google gave me many outputs. The one which worked for me was the following one.
Start Menu > Run
Type the following in the Run field...
regsvr32 %systemroot%\system32\vbscript.dll
Press enter. You will get a positive confirmation message "DllRegisterserver in C:\windows\system32\vbscript.dll is succeeded"
And the problem is killed.
Another way of doing this is by editing the registry.
I assume that you know the basic registry editing functions and precautions. If not, take the guidance of an expert friend or ask me for more details.
Startmenu > Run > regedit
Enter

Navigate to HKEY_CLASSES_ROOT > CLSID > {B54F3741-5B07-11Cf-A4B0-00AA00A55E8}> InprocServer32
On the right side pane change the value of Default Key to C:\WINDOWS\system32\vbscript.dll (provided your Windows is in C Drive.)

Close the Registry Editor and Restart your PC.

That's all.
Doubts? contact me - pradeepthegreat2010@gmail.com