Topic: My bugs summary regarding standard Win8PE SE scripts  (Read 4741 times)

My bugs summary regarding standard Win8PE SE scripts
« on: June 13, 2013, 12:46:51 PM »

Nobsi

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: May 2013
  • Posts: 18
Audio:
The "Volume at startup" slider does seem to have no effect. On startup of PE the volume level is still set to 67% (script default)

IE Proxy Settings:
The setings made in this script seem not to work. None of the predefined proxy entries is present after PE startup

Vss:
The Volume Shadow Copy Service seems not to work properly. I use the recovery tool Drive Snapshot from Tom Ehlert that has an option to use the VSS service instead of the embedded driver (to allow backup of multiple volumes), but when I select this option the program says "Operation not successful" on start of a backup on my Win8PE SE image with the Vss script enabled. (A 30 day test version of Drive Snapshot can be downloaded for testing purposes). This of course runs well on a regular Win8 installation.

Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #1 on: June 14, 2013, 10:19:56 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Audio:
The "Volume at startup" slider does seem to have no effect. On startup of PE the volume level is still set to 67% (script default)
I just try again, it works well here, I do not know why it does not work for you
Can you try manually in PE:
nircmdc.exe changesysvolume -65535
nircmdc.exe changesysvolume 32767

Or start again autorun.cmd by adding pauses inside.

IE Proxy Settings:
The setings made in this script seem not to work. None of the predefined proxy entries is present after PE startup
The proxy settings seem to be well written in the IE Internet settings.
however, some features are missing, such as password, look at this http://theoven.org/index.php?topic=521.msg7846#msg7846

Vss:
The Volume Shadow Copy Service seems not to work properly. I use the recovery tool Drive Snapshot from Tom Ehlert that has an option to use the VSS service instead of the embedded driver (to allow backup of multiple volumes), but when I select this option the program says "Operation not successful" on start of a backup on my Win8PE SE image with the Vss script enabled. (A 30 day test version of Drive Snapshot can be downloaded for testing purposes). This of course runs well on a regular Win8 installation.
The services needed for vss start well, as soon as I have time, maybe next week, I'll test Drive Snapshot in real to see what happens.

:cheers:

Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #2 on: June 14, 2013, 11:08:05 AM »

Nobsi

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: May 2013
  • Posts: 18
Quote
I just try again, it works well here, I do not know why it does not work for you
Can you try manually in PE:
nircmdc.exe changesysvolume -65535
nircmdc.exe changesysvolume 32767

Or start again autorun.cmd by adding pauses inside.

I just tried this and it seems to work somehow. Also now I had the predefined value at PE startup. But I noticed that the changesysvolume nir command value is relative to the current value. Maybe there is a chance that something goes wrong. I think it would be better to use the absolute command:

nircmdc setsysvolume x

with x = 0 for 0%
and x = 65535 for 100%

I will now further investigate my proxy setting issue and give feedback...

Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #3 on: June 14, 2013, 12:20:51 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
you're right, nircmdc setsysvolume x is better  :thumbsup:
I do not know why I did it with changesysvolume before, I'll change it.

:cheers:
« Last Edit: June 14, 2013, 12:21:03 PM by ChrisR »

Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #4 on: June 19, 2013, 09:25:10 AM »

Nobsi

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: May 2013
  • Posts: 18
Sorry for the delay, I just did some further investigation into my proxy settings issue.

I just found that the proxy settings defined in the 'IE Proxy Settings' script do only have an effect if also the 'Internet Explorer 10' script is selected.

Is this behavior intended or should the predefined proxy settings also work without the IE10 put into the image?

I actually need only the predefined proxy settings (for some apps requiering internet access), but not IE10.
(Internet access actually works after entering the proxy setttings manually into the Internet Properties Control Panel.)


Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #5 on: June 19, 2013, 09:27:15 PM »

2aCD

  • Code Baker
  • Jr. Chef
  • **
  • Location: Dresden, Germany
  • Date Registered: May 2013
  • Posts: 80
Hi Nobsi,
I'll look at next time why Proxy settings not work without IE.
Best regarxs
2aCD

Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #6 on: June 20, 2013, 07:27:46 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Hi Nobsi,

I actually need only the predefined proxy settings (for some apps requiering internet access), but not IE10.
(Internet access actually works after entering the proxy setttings manually into the Internet Properties Control Panel.)
I think it is good now for the proxy in Internet options without Internet Explorer script.
XpeInit needs the key HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections

 

Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #7 on: June 20, 2013, 09:59:29 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Vss:
The Volume Shadow Copy Service seems not to work properly. I use the recovery tool Drive Snapshot from Tom Ehlert that has an option to use the VSS service instead of the embedded driver (to allow backup of multiple volumes), but when I select this option the program says "Operation not successful" on start of a backup on my Win8PE SE image with the Vss script enabled. (A 30 day test version of Drive Snapshot can be downloaded for testing purposes). This of course runs well on a regular Win8 installation.
I tested the Volume Shadow Copy Service and also Drive Snapshot.
On Win8PE, vssadmin.exe, vssapi.dll and VSSVC.exe need to be patched as on Win7PE to operate, my fault of having changed it  :embarrassed:

I corrected, Vss script is on server.
I tested it with DriveImage XML by choosing Try Volume Shadow Services first instead of Try Volume locking First (using volume shadow in the log)

ila_rendered

Tested also with vssadmin list writers, and Drive Snapshot
for Drive snapshopt it works with the advanced options "Never Use VSS", "Allways use VSS if available (--UseVSS) or with the default option "Use VSS only if exchange writer is involved"
by cons, the operation is not successfull with the switch "Always use VSS and abort if VSS fails (--ForceVSS)", I don't know why!

ila_rendered

Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #8 on: June 20, 2013, 10:10:10 AM »

Nobsi

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: May 2013
  • Posts: 18
Quote
I think it is good now for the proxy in Internet options without Internet Explorer script.
I just tested this with my image and it works like a charm :great:

Quote
for Drive snapshopt it works with the advanced options "Never Use VSS", "Allways use VSS if available (--UseVSS) or with the default option "Use VSS only if exchange writer is involved"
by cons, the operation is not successfull with the switch "Always use VSS and abort if VSS fails (--ForceVSS)", I don't know why!
I give your changed script a try, but I fear there is still a problem. With all options except "Always use VSS and abort if VSS fails"  Drive Snapshot falls back on the internal driver instead of using the VSS service.
The use of VSS can be forced by trying to make a backup of multiple volumes at once. I will try this now and report back.

By the way, thank you very much for your amazing support. This is even better than what many commercial companies have to offer!


Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #9 on: June 20, 2013, 11:25:49 AM »

Nobsi

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: May 2013
  • Posts: 18
Unfortunatelly Drive Snapshot still does not work correctly when use of VSS is forced via advanced options.

If it works, the log should look like this:

ila_rendered

On my PE image with the new VSS script, it still only shows the "X: -> C:\Backup\Test_X.sna" message and "Operation NOT successful"

Re: My bugs summary regarding standard Win8PE SE scripts
« Reply #10 on: June 20, 2013, 12:02:07 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
I just tested this with my image and it works like a charm :great:
Good, IE_Proxy_Settings is on server now  :thumbsup:

Unfortunatelly Drive Snapshot still does not work correctly when use of VSS is forced via advanced options.
I have the same result here with snapshot.exe.
I have no idea to find out what's wrong with Drive snapshot when it tries to use the VSS services  :confused:

However, with DriveImage XML, the Volume Shadow Copy Service seems to work fine,  as shown in the log (screenshot).

:cheers:

 

Powered by EzPortal