Topic: Colin Ramsden's WINFE write protect tool  (Read 6095 times)

Colin Ramsden's WINFE write protect tool
« on: May 29, 2013, 07:12:03 PM »

4n6pi

  • Jr. Chef
  • **
  • Date Registered: May 2013
  • Posts: 14
I am trying to add this script to my build and I am experiencing an error on boot which I have attached. can anyone shed some light on this for me?

thank you

James

Re: Colin Ramsden's WINFE write protect tool
« Reply #1 on: May 29, 2013, 08:08:20 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
use
\Apps\System Tools\Debug\"Sysinternals Process Monitor"

plugin to debug and see if anything missing - required ?

*
Maybe you do not know what this tool is about !! If so:

Idea is using nt6x feature in order to not mount drives,
 as a result you can feel fully safe that drives not accessed and nothing written during PE boot,
   for that you need to enable \Finals\1 Optimizations\"Don't mount local harddrives "

after Win7PE SE boots, since disks only not mounted but accessable,
 you can use disk utilities to access disks, and do your tasks (recover, access files etc.) more safely.....

in case you like to access disk with mounting,
 you can use cmd tools, partition software tools or anyother, or use Colin Ramsden tool with GUI to mount etc.


:turtle:
« Last Edit: May 29, 2013, 08:12:29 PM by Lancelot »

Re: Colin Ramsden's WINFE write protect tool
« Reply #2 on: May 29, 2013, 08:22:32 PM »

4n6pi

  • Jr. Chef
  • **
  • Date Registered: May 2013
  • Posts: 14
Thanks, being new at this I missed the Finals\optimization portion. appreciate the quick reply. and stop assuming people dont know anything I do happen to know what it is but I missed a step :ohmy: you don't know me so don't be so quick to judge me :thumbsup: thanks for the help I appreciate it.

James

Re: Colin Ramsden's WINFE write protect tool
« Reply #3 on: May 29, 2013, 08:38:25 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
That is the reason I used "If so:"  :wink:

It is hard to know what people knows & do about things, since many things behind not written clearly-cleanly,
 like on recent topic MisterC not knowing PC Packed,
  or any other (many other) topics having mysterious unreproducable reports......

   As a result Posts are as clean as possible, further replies sometimes makes things cleaner, all with assuming a 3rd individual who knows less or more will read later in time :turtle:  :thumbsup:

*
back to subject, If your goal is having no mount disk, I found these 2 keys too, which might be added to 1 Optimization in time ...

RegHiveLoad,Tmp_System,%RegSystem%
RegWrite,"HKLM",0x4,"Tmp_System\ControlSet001\Control\FileSystem","DisableDeleteNotification","0x00000001"
RegWrite,"HKLM",0x4,"Tmp_System\ControlSet001\services\volmgrx","Start","0x00000004"
RegHiveUnLoad,Tmp_System

2nd line (volmgrx) disables dynamic disk detection I guess, which mount keys were not working,
I guess DisableDeleteNotification for FileSystem is to get rid of a windows warning when dealing with filesystems

Tip: You can use "PC New (Plain)" to create such simple plugins
http://theoven.org/index.php?topic=199

:turtle:

Re: Colin Ramsden's WINFE write protect tool
« Reply #4 on: May 29, 2013, 08:50:58 PM »

4n6pi

  • Jr. Chef
  • **
  • Date Registered: May 2013
  • Posts: 14
Hey thanks those reg keys might be the issue or at the least in the right direction....appreciate it.

Re: Colin Ramsden's WINFE write protect tool
« Reply #5 on: May 31, 2013, 06:51:36 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
I like to assume you solved the troubles you had faced , and will like to share with all...
 or maybe another wrong assumption  :cool:

:turtle:

Re: Colin Ramsden's WINFE write protect tool
« Reply #6 on: June 02, 2013, 01:12:25 AM »

4n6pi

  • Jr. Chef
  • **
  • Date Registered: May 2013
  • Posts: 14
No Lancelot, I apologize got busy havent been able to retest as of yet. I will be sure to share anything I find out, thanks for checking back in.

Re: Colin Ramsden's WINFE write protect tool
« Reply #7 on: June 07, 2013, 12:02:22 PM »

MB_75

  • Apprentice
  • *
  • Date Registered: Jun 2013
  • Posts: 1
Hi, I'm getting the same error but only on the Win8PE SE project.

The script execute the WProtect.exe file just before the desktop loads. When I click OK it loads the desktop without issues. If I then launch the program again it runs 100% with no issues.

Any assistance?

 :confused:

Re: Colin Ramsden's WINFE write protect tool
« Reply #8 on: June 07, 2013, 02:02:37 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
For Info the Additional registry keys, above, were added in Optimizations scripts for the option "Don't mount local harddrives".

Code: [Select]
// DisableDeleteNotification inside collins write protect. It only happens on deleting and who would delete something on a readonly volume!
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Control\FileSystem,DisableDeleteNotification,1
//Disable Dynamic Disks
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\services\volmgrx,Start,4

The script is on server.

To try to find the reason and see what happens, you can comment the following lines

Code: [Select]
// Patch Winpeshl.ini
//TXTReplace,%target_sys%\winpeshl.ini,[LaunchApps],#$qWProtect.exe -i#$q
//TXTAddLine,%target_sys%\winpeshl.ini,[LaunchApps],PREPEND

Then after the desktop loads, start WProtect.exe with the shortcuts.
and maybe you can make a trace with Procmon:
\Apps\System Tools\Debug\"Sysinternals Process Monitor"

 

Powered by EzPortal