Share: Home
February 2010 - Posts - Syed Khairuddin

Syed Khairuddin

February 2010 - Posts

In-Place Upgrade For Windows Vista to Windows 7 Leaves $WINDOWS.~Q and $INPLACE.~TR Folders Behind

Before Upgrading the Operating Systems and Service packs I usually take a note of my disk space so that I can analyze how much disk space was used after the upgrade. This time while upgrading Windows Vista to Windows 7 I noticed there were two hidden folders created with the following names $WINDOWS.~Q and $INPLACE.~TR  which were dramatically huge in space this space varies from MB'S TO GB'S depends upon the applications installed in your previous operating system. Now my point is

What are these folders ?   

These are the temporary folders created while upgrade and used to roll back the operating system incase of problems.

Can I delete these folders ?

 

These folders may be safely deleted after Windows 7 has been successfully upgraded. You may also try to rename them to check if your system works normally. If it works fine, then delete them safely.

Note: This above behaviour was also found when you upgrade from Windows 2008 to 2008 R2.

 

 

Adprep Fails on Windows 2003 Server

Hello,

        I was with one of my customer who wanted to introduce Windows 2008 Server in his existing Windows 2003 Infrastucture for the transition. The scenario was he had

DC01 Windows 2003 Standard Server with all FSMO Roles
DC02  Windows 2003 R2 Enterprise acting as ADDITIONAL DOMAIN CONTROLLER.

So while sitting on the schema master I ran the command  Adprerp /forestprep . As per the technet article but  I ended up with a  following error.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ADPREP WARNING:

Before running adprep, all Windows 2000 Active Directory Domain
Controllers in the forest should be upgraded to Windows 2000 Service
Pack 4 (SP4) or later.

[User Action]

If ALL your existing Windows 2000 Active Directory Domain Controllers
meet this requirement, type C and then press ENTER to continue.
Otherwise, type any other key and press ENTER to quit.

C

Connecting to "DC02.fabrikam.com"
Logging in as current user using SSPI
Importing directory from file "c:\windows\system32\PAS.LDF"
Loading entries
Add error on line 4: Referral


The Server side error is "A referral was returned from the server."
0 entries modified sucessfully.
An error has occured in the program
Adprep was unable to upgrade the schema on the schema password.
[Status/Consequence]
The schema will not be restored to its orignal state.
[User Action]
Check the Ldif.err log file in the <null> directory for the detailed information.

Adprerp encountered a Win32 error.
Error code: 0x202b Error message: A referral was returned from the server..

Adprep was unable to update the forest information.
[Status/Consequence]
Adprep rewuires access to existing forest-wide information from the schema master in order to complelte this operation.
[User Action]
Check the log file ADPrep.log, in the
C:\windows\debug\adprep\logs\20080806171216 directory for more
information.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

To resolve the issue i again transfered all the roles from Windows 2003 Standard Server To Windows 2003 R2 Enterprise which was acting as ADC and resolved the issue but as a matter of fact if you see the log care fully, when I was running the command from the Windows 2003 Standard server which was holding schema role it was contacting Addional Domain Controller Which was Windows 2003 R2 Enterprise You know why it was contacting ??

------------------------------------------------------------------------------------------------------------------------------------

Connecting to "DC02.fabrikam.com" >> ( Windows 2003 R2 without FSMO roles )
Logging in as current user using SSPI
Importing directory from file "c:\windows\system32\PAS.LDF"
Loading entries
Add error on line 4: Referral

-------------------------------------------------------------------------------------------------------------------------------------

Remember When you were introducing Windows 2003 R2 in your env you would have done adprep /forestprep as well which has eventually updated your schema to objectVersion to 31.


The same thing when I was trying to run adprep /forestprep for Windows 2008 introduction its was looking for the schema master server which was having highest objectVersion in my case it was windows 2003 r2. Thats the reason It was contacting Addtional Domain Controller which was Windows 2003 R2.

 

Note: Please see the attached Jpg below for the screen shot, I have removed the domain name from the screenshot in order to protect the privacy of the customer.

 

Posted: 02-17-2010 11:58 AM by skhairudin | with no comments |
Filed under:
Windows Update Fails With Error [error number:0x8024D007]

Hello,

       After enjoying my weekend Smile. I came to my office on Saturday and started Monitoring the servers as my routine work. To my eyes everything was working perfectly except a member server which was failing Windows Update with the following Error .

 [error number:0x8024D007]

 hmm here are some of the steps which are usually used to resolve Windows Update Errors.

 

1. Close Internet Explorer
2. Delete the WebSetup folder at C:\windows\SoftwareDistribution
3. Visit Windows Update, Click "Express"
4. Check that the WebSetup folder has been restored
5. Close Internet Explorer
6. Stop the Automatic Updates Service  (Do NOT disable it!)
7. Browse to C:\WINDOWS\ServicePackFiles\i386 (Different on 64 bit Editions)
8. Locate wuaueng.dll within the i386 folder, copy it
9. Paste wuaueng.dll to c:\windows\system32\dllcache (Overwrite)
10. Delete wuaueng.dll within C:\Windows\System32 (Windows will
restore it almost instantly, no problem --)
11. Start the Automatic Updates Service [Again]
12. Visit the Windows Update site
13. Download the "Newer Version"
14. Test it...


Note: Please see the below attached file which shows the Error.

 

 

 

 

Posted: 02-16-2010 10:49 AM by skhairudin | with no comments
Filed under:
Free Windows 2008 R2 Book Download From MS Press

 Hello Guys,

Microsoft is giving away a free Ebook download for Windows 2008 R2. This guide is a 200 page, 9 Chapter get up to speed guide on Windows Server 2008 R2.  If you are a Windows Server Administrator, this guide is something you should keep handy.

 http://download.microsoft.com/download/5/C/0/5C0BD0AB-040D-4C56-A60B-661001012DDA/Windows_Server_2008_R2_e-book.pdf

 

 

Posted: 02-09-2010 5:14 PM by skhairudin | with 1 comment(s) |
Filed under:
Windows 2003 Service Pack 2 fails

I was at my customer's end last few days back to troubleshoot an Issue which he was facing while installing Service pack 2 on Windows 2003 Server. I tried a  googling searching for KB article but none helpmed me. Then  I thought it Would be nice to see the log file and troubleshoot which is svcpack.log.

When you run a standalone installation, the Update.exe program creates a log file named Svcpack.log in systemroot. This log file contains the following information:

  • The command line that initiated the Update.exe program.
  • A list of the files that the Update.exe program copied to your computer.
  • Error messages if any errors were encountered.
  • The command-line options that were used to install the service pack.

http://technet.microsoft.com/en-us/library/cc784899(WS.10).aspx

The Error was as follows.

Update.exe extended error code = 0xf070
update.exe return code was masked to 0x643 for MSI custom action compliance
cimwin32.mof error code = 3"

Solution

After Interpreting the log I found I was having a problem with WMI which need to be repaired or rebuilt. In my case i have rebuilt the WMI with the following steps

a. Open cmd and run "net stop winmgmt /y" (/y is Yes for any warning
message appears for re-confirming to stop)
b. go to %windir%\system32\wbem
c. run the following command: for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
d. Register the dll file using the following cmd: regsvr32
%windir%\system32\tscfgwmi.dll
e. wmiprvse /regserver and winmgmt /regserver
f. net start winmgmt

 

 

Posted: 02-09-2010 11:16 AM by skhairudin | with 2 comment(s) |
Filed under: