Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Windows File Protection not accepting nlite-disk

- - - - - wfp nlite CD xp windows

  • Please log in to reply
38 replies to this topic

#1
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

Hi there,

I have trouble with windows' builtin file-protection. When activated, it keeps asking for the original XP-CD and won't accept my modified nlite-disk. During unattended installation WFP is turned off to speed-up the process. With a reg-file I re-enabled WFP and got described problem. For deactivation I used the option in nlite before compiling the disk.

 

 

I already found out on microsoft's homepage that the two files IMS.inf and fp40ext.inf are responsible for that behavior. Does anybody know how to change them so WFP will work as usual with a nlite-cd? Forum-search didn't give me any results.

 

Edit:

 

The reg-file used to re-enable WFP:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"SfcQuota"=dword:ffffffff
"SFCDisable"=dword:00000000

It needs a reboot to work.


 


Edited by whocares02, 03 April 2014 - 07:48 PM.



How to remove advertisement from MSFN

#2
Ponch

Ponch

    MSFN Junkie

  • Patrons
  • 3,261 posts
  • OS:none specified
  • Country: Country Flag

Your source is probably modified in a non kosher way, "outside" of nLite.

 



#3
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,212 posts
  • OS:none specified
  • Country: Country Flag

And how did you disable WFP, before? :unsure:

 

jaclaz



#4
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag
And how did you disable WFP, before?

 

 

For deactivation I used the option in nlite before compiling the disk.

 

 

The option is somewhere on the last page of nlite's wizard.

 

Your source is probably modified in a non kosher way, "outside" of nLite.

 

I don't think so. The install-files are not modified my be. Additional folders in the root-dir of the disk are common (e.g. a Dotnet-folder was present on my orig-disk, provided by the manufacturer). Usually XP accepts XP-disks with additional folders nevertheless.



#5
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

Just playing around with the two mentioned files in the microsoft-article: Microsoft recommends replacing all strings reading "Professional" with the string "Home". Doing so changes the CD-Names WFP is looking for. Up to now I got a partial success. Windows File Protection is not asking for the Service Pack CD anymore. Instead it want's the nlite-CD. fp40ext.inf didn't exist in my fresh n-lite-windows-installation at all. I guess nlite did just remove it, with disabling WFP (or is it called SFC?). So I copied fp40ext.inf from another computer.

 

Also, IMS.inf reads some lines mentioning a CD-Tag-File. There are 3 CD-Tag-Files on my disk but they are not used in IMS.inf. So I replaced the strings with non-existent -CD-Tag-files with vaild ones.

 

In addition I opened the cd-tag-files to look what's inside: WIN51, WIN51IC, WIN51IC.SP2 all just contain the word "Windows".

 

After a reboot however, SFC is asking for the service-pack-CD again and not the nlite-CD anymore. Don't know if this is a progress or not...

 

Edit: There is also a line in fp40ext.inf reading:

productname = "Windows XP Home"

don't know how this is red from disk. Maybe nlite did change that string too and I have to apply that change to fp40ext.inf as well.

SFC however is requesting both disks now: nlite-disk and service-pack-disk, when hitting cancel frequently.

 

Edit:

 

I think I got it: There is a third file

C:\Windows\inf\layout.inf

I opened that file, replaced all CD-Names with my nlite-cd's name and all cd-tag-entries with valid cd-tag-filenames. SFC is still scanning for files but up to now no disk was requested anymore!


Edited by whocares02, 04 April 2014 - 09:03 AM.


#6
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag
@Jaclaz: In this thread is a screenshot of the nlite-option to disable sfc.
 
Edit:
 
Ok, here is the catch: It seems, after changing the three files, sfc doesn't ask for a CD even when there is none inserted. Is this usual or did I fix too much?

#7
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,212 posts
  • OS:none specified
  • Country: Country Flag

Yep :), what I was asking was a bit beyond that.

I mean, what are the actual "patches" (to the Registry or to the files) that that choice produces? :unsure:

It is possible that *somehow* that particular setting/tweak is not compatible (or not entirely compatible) with your SP level (or other integrated hotfixes, etc.).

 

 

 

In addition I opened the cd-tag-files to look what's inside: WIN51, WIN51IC, WIN51IC.SP2 all just contain the word "Windows".

 

Yes, this is normal, those tag files are what tells the setup to which Service Pack level is the source, see:
http://www.911cd.net...topic=16381&hl=

but if you have the "IC" (and not the "IP" files) it means that your source is "Home" (and not "Professional").

 

What are the actual tag files you have on your source?

What are the actual tag files you have on your self-made integrated disk?

What are the actual tag file names in the files in your source (unmodified)?

What are the actual tag file names in the files in your build (after having been processed by nite)?

 

Since you are into iso-experiments, why don't you give to the n-lited build CD the same name as the original?

i.e. instead of -volid "XP-SP2 -DE_Silent" use -volid "VRMHFPP_DE" (or whatever) see also:

http://www.tacktech....fm?sc=windowsxp

scroll down until you find the suitable:

Known Windows XP ....

 

jaclaz



#8
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

My original XP-CD is Windows XP SP2 Home Edition German. In the root-folder are three tag-files:

WIN51
WIN51IC
WIN51IC.SP2

My nlite-disk has the same three files since I didn't modify anything (instead, I added three folders: $OEM$, a folder with a disk-image inside and a folder with non-integratable updates for manual installation, if needed (e.g office-updates, .NET1.1, ramdisk-freeware). The XP-setup is not altered in an unusual way with this.

 

For my next build, I now added the files

WIN51MP
WIN51IC
WIN51IP2
WIN51IC.SP2

with copying and renaming the present id-files (which all just carry the word "Windows "). I did this just to make sure some other sub-process of sfc might not miss those files.

 

Regarding to compatibility: I downloaded over 400 hotfixes and really sorted them out: IE7-Updates, IE8-Updates, Mediaplayer-Updates...and SP3-Updates.

 

For the last step, I tried all hotfixes rejected by nlite manually on my SP2-machine to see if they are for SP3. I guess it were about 80 or 90 hotfixes. Rest of them is just not working for specific reasons (e.g. windowsinstaller-kb893803-v2-x86.exe is outdated, windows-kb909520-v1.000-x86-deu.exe never works for some reason, SFU3 and SFU3.5 are special-purpose, hotfixes beginning with msxml4 and msxml6 or ie7 sometimes integrate, sometimes not). Hotfixes not getting integrated for unknown reason get called from RunOnceEx.cmd with a silent switch, after XP got installed.

 

I really don't believe my system was incompatible since the hotfixes check by themself if specific files need updates or not.

 

 

Since you are into iso-experiments, why don't you give to the n-lited build CD the same name as the original?

i.e. instead of -volid "XP-SP2 -DE_Silent" use -volid "VRMHFPP_DE" (or whatever) see also:

 

 

Good idea, thank you. I really wanna come to an end. My DVD is almost finished and I tried so much already...maybe...I might try that one as well...wait...no...actually I don't want.

 

Edit:

 

Just doing some tests with SFC:

\windows\system32\dllcache

seems to be the regular folder SFC is taking files from (in case of replacement).

 

If I now remove the file

\Windows\help\apps.chm

and run

sfc /scannow

on the commandline, the file does get replaced! So far...SFC seems to work correctly. However, if I remove apps.chm from \windows\system32\dllcache in addition, the file doesn't get missed and replaced. No request for instertion of XP-CD is showing up.

 

I'll try it with a reboot now. Don't think it will change anything.


Edited by whocares02, 04 April 2014 - 12:39 PM.


#9
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,212 posts
  • OS:none specified
  • Country: Country Flag

AFAIK/AFAICR the three files:

  • WIN51
  • WIN51IC
  • WIN51IC.SP2

are OK for a SP2 "Home" install disc (and no other tag file is needed normally).

 

I won't tell you again (but I am actually telling you this ;)) how most probably you did too many steps (n-liting/integrating/whatever)  all together, and thus it is IMHO very possible that something created a conflict in the build (not in your system being "incompatible").

 

jaclaz



#10
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

Yeah, you told me a couple of times....up to now I proofed you wrong every single time. I got everything to work properly (with lots of help from here). The whole setup is really unattended now. I even wrote autoit-scripts to cleanup start-menu and quick-launch. But no...no system-changes actually...I think it's within the three .inf-files, I manipulated. I didn't use any tutorial - my modifications are based on my guessings.



#11
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

I could provide some .reg-files, I created. Not sure if some ain't language-dependent but they could be usefull for other readers nevertheless.

 

Disable_System-Sounds.reg

Enable_File-Protection.reg

Explorer-Show_Adressbar.reg

Explorer-Show_Statusbar.reg

Explorer-Customize_Toolbar.reg (shows cut-, copy- and paste-icons !!)

Register_Winamp_Filetypes.reg

Replace-Notepad_with_Metapad.reg

Remove_RecycleBin.reg

Switch_off_Remote-Desktop.reg

Replace-Taskmanager.reg (with SystemExplorer)

SetWallpaper.reg

Show_Quick_Launch.reg

Disable_WindowsBeep.reg (not sure if working)

New_TimeServers-for_Windows.reg

Update-Time_Twice_a_day.reg

Unblock_CDR.reg

Unblock_Excel.reg

Unblock_PPT.reg

Unblock_Word.reg

Switch_Off_Scripting_Host.reg (not in use, because needed by a .NET-Update-pack)

 

These are actually all my system-modifications. Autoit-Scripts are used in addition to create shortcuts and move them within start-menu.


Edited by whocares02, 04 April 2014 - 01:41 PM.


#12
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,212 posts
  • OS:none specified
  • Country: Country Flag

....up to now I proofed you wrong every single time. 

Ah well, if you say so, it's OK :).

 

Anyone reading the thread:

http://www.msfn.org/...-multiboot-dvd/

will be able to form his/her own opinion on this. :yes:

OT, and JFYI, datshun9.cmd :w00t::

http://www.911cd.net...topic=25612&hl=

 

jaclaz



#13
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

:lol: LOL! Thank you!



#14
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

Your script is really interesting!

 

Without extensions like Joliet or RockRidge, ISO-4 is the only ISO9660-filesystem giving a valid output. If someone wants higher compatibility, he/she should choose ISO-2 or ISO-3 since they replace everything unreadable with underscore. Usage of wrong codepage causes RockRidge and ISO-4 to include gibberish-chars. Joliet always seem to work. However, I got an Iso one time with broken Joliet-filenames as well. No idea how to reproduce that.


Edited by whocares02, 04 April 2014 - 02:11 PM.


#15
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

You know what? I don't believe the strings I edited in the three files are really CD-Labels. In the original version of ims.inf for instance the string-section reads:

[Strings]
REG_UNINSTALL="Software\Microsoft\Windows\CurrentVersion\Uninstall"
REG_INETSTP="Software\Microsoft\InetStp"
REG_INETMGR="Software\Microsoft\InetMgr"
REG_SVCS_INETINFO="System\CurrentControlSet\Services\InetInfo"
REG_KEYRING="Software\Microsoft\Keyring"
REG_APPPATHS="Software\Microsoft\Windows\CurrentVersion\App Paths"
REG_CLSID="Software\Classes\CLSID"
REG_SLATE_MMC="Software\Microsoft\MMC"
SZ_SLATE_ID="{A841B6C2-7577-11d0-BB1F-00A0C922E79C}"

; the following are localizable
SDESC_IMS="SMTP-Dienst";Do not localize for Far East languages (CHS/CHT/KOR/JPN).
LDESC_IMS="Unterstützt die Übertragung von E-Mail."
SDESC_IIS_SMTP="SMTP-Dienst";Do not localize for Far East languages (CHS/CHT/KOR/JPN).
LDESC_IIS_SMTP="SMTP-Dienstdateien"
SDESC_IIS_SMTP_DOCS="Dokumentation für SMTP-Dienst"
LDESC_IIS_SMTP_DOCS="SMTP-Dienst-Dokumentationsdateien"
SZ_SLATE_NAME_STRING="Internetdienste"

; sneely: changed to add media strings here.  Note that [strings] must be the last section in this file


cdname = "Windows XP Professional-CD-ROM"
productname = "Windows XP Professional"


bootname1    = "Windows XP Professional SP2 Setup – Startdiskette"
bootname2    = "Windows XP Professional SP2 Setup – Diskette 2"
bootname3    = "Windows XP Professional SP2 Setup – Diskette 3"
bootname4    = "Windows XP Professional SP2 Setup – Diskette 4"
bootname5    = "Windows XP Professional SP2 Setup – Diskette 5"
bootname6    = "Windows XP Professional SP2 Setup – Diskette 6"

cdtagfile   = "\win51ip";{locked}


cdtagfilei   = "\win51ip";{locked}

cdtagfilem   = "\win51mp";{locked}

boottagfile1   = "\disk101";{locked}
boottagfile2   = "\disk102";{locked}
boottagfile3   = "\disk103";{locked}
boottagfile4   = "\disk104";{locked}
boottagfile5   = "\disk105";{locked}
boottagfile6   = "\disk106";{locked}

spcdname = "Windows XP Professional Service Pack 2 CD"
spcdtagfilei   = "\win51ip.sp2";{locked}

cd2name = "Windows XP Professional CD2"
cd2tagfilei = "\win51ip2";{locked}

The string

cdname = "Windows XP Professional-CD-ROM"

is far too long for a CD-Label. My Orig-XP-CD's label is "GER_HOME_SP2". Therefore I think I didn't manipulate the inf-files in the proper way. I also tried my new Iso with all possible cd-tag-filename-combinations in root-folder. It doesn't get accepted as well.

 

How could I figure-out CD-identification is done within the three files?



#16
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,251 posts
  • OS:none specified
  • Country: Country Flag

???

That does NOT look like an "original" if the label says "HOME" and the INF has PRO in it! :no:

 

Could you scan your "original" and post the scan image? You NEVER provided a Directory Listing, so who KNOWS what you really have? :unsure:

 

(I googled "GER_HOME_SP2" - fishy...)

 

"cdtagfile" IS the values for the one in question and are the TAG files in the ROOT of the CD!

MY IMS.INF For HOME Edition is

cdname   = "Windows XP Home Edition CD-ROM"
productname   = "Windows XP Home Edition"


bootname1      = "Windows XP Home Edition SP2 Setup Boot Disk"
bootname2      = "Windows XP Home Edition SP2 Setup Disk #2"
bootname3      = "Windows XP Home Edition SP2 Setup Disk #3"
bootname4      = "Windows XP Home Edition SP2 Setup Disk #4"
bootname5      = "Windows XP Home Edition SP2 Setup Disk #5"
bootname6      = "Windows XP Home Edition SP2 Setup Disk #6"

cdtagfile     = "\win51ic"


cdtagfilei     = "\win51ic"

cdtagfilem     = "\win51mc"

boottagfile1     = "\disk101"
boottagfile2     = "\disk102"
boottagfile3     = "\disk103"
boottagfile4     = "\disk104"
boottagfile5     = "\disk105"
boottagfile6     = "\disk106"

spcdname = "Windows XP Home Edition Service Pack 2 CD"
spcdtagfilei     = "\win51ic.sp2"

so I find it HIGHLY unlikely that it's a kosher CD.

 

Post#7 by jaclaz - you REFUSE to answer! :ph34r:


Edited by submix8c, 04 April 2014 - 04:51 PM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#17
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,790 posts
  • OS:Windows 7 x64
  • Country: Country Flag

And that's why we take notice when it shows your using warez in other areas.



#18
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,251 posts
  • OS:none specified
  • Country: Country Flag

@Kel - exact-a-mundo! ;) BUSTED!

 

I'd say this exercise in futility is over, seeing as how this mix-and-match "DVD - or is it a CD" issue is ovah!


Edited by submix8c, 04 April 2014 - 04:53 PM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#19
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

submix, I just like your picture! It fits to your answer right now. If you red carefully, you would know that it is a microsoft-bug that the inf-file reads professional instead of home. Propably the change came with some hotfix. However, microsoft recommends changing the file manually to replace all occurences of "professional" with "home" (See previously posted link).

 

(I googled "GER_HOME_SP2" - fishy...)

 

I told you in my other threat already, the PC was from a (well-known) supermarket-chain. They did customize the disk slightly.

 

"cdtagfile" IS the values for the one in question and are the TAG files in the ROOT of the CD!

 

Well, as soon I modify it in layout.inf (e.g. uppercase instead of lowercase) sfc stops requesting a disk (though no disk is inserted).

So I reverted my changes - SFC is asking for CD again.

I changed all cdtag-entrys in ims.inf to uppercase - no change in behavior. SFC still asks for the Service Pack 2 CD.

 

I googled around and many people say it's possible files on cd are older because of updates - hence the message: you inserted the wrong cd.



#20
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

Hey Kelsen,

just found some other threat from you on a different forum offending some member of a foundation!

 

Do you know that nLite's license explicitly says t is not for buisness or corporation uses?

 

 

His answer:

I seriously doubt that a not for profit organisation is gonna fall fowl of nLite's license.

 

 

Your answer:

 

I may get censured for this but I really have to say something:

Thats a very fine moral shield you hide behind there and its bul*****... RVMi has no business clause.

nLite does, but has no provision for "Non-profit" so your fallacy of doing what you want is crap....

nLite License:

5. nLite is free for personal use only, you cannot use it for any company or business purposes at this time.

 

You like running the show, do you?


Edited by whocares02, 04 April 2014 - 05:05 PM.


#21
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,790 posts
  • OS:Windows 7 x64
  • Country: Country Flag

What don't like being called on your bs?

 

Also I see no threat in those posts...


Edited by Kelsenellenelvian, 04 April 2014 - 05:16 PM.


#22
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag
What don't like being called on your bs?

 

???

 

Also I see no threat in those posts...

 

 

Well at time of writing you did - I think you did well:

 

I may get censured for this but I really have to say something:

 



#23
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,790 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Also I am a moderator at Ryanvm.net, A smod for Wincert.net and a Developer here so, no it's not running the show it's doing a job and trying to keep the places I work for and call home running.

 

Also in the thread you linked to I still helped the guy solve his issue, even if I had a issue with his uses.


Edited by Kelsenellenelvian, 04 April 2014 - 05:22 PM.


#24
whocares02

whocares02

    Junior

  • Member
  • Pip
  • 88 posts
  • OS:XP Home
  • Country: Country Flag

...sounds almost commercial to me...



#25
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,790 posts
  • OS:Windows 7 x64
  • Country: Country Flag

A slightly modified disk from a supermarket isn't legal either...

 

I cannot find ANY proof of a hotfix changing the CDIDENT files either it doesn't happen. (on a source disk not on a installation)


Edited by Kelsenellenelvian, 04 April 2014 - 06:06 PM.






Also tagged with one or more of these keywords: wfp, nlite, CD, xp, windows

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN