SandboxDiff - Registry/Files changes
SandboxDiff updated.
Download and additional info in first post.
P.S.: Thanks again Casey44 and George for your useful information and feedback.
Download and additional info in first post.
P.S.: Thanks again Casey44 and George for your useful information and feedback.
majoMo you beat me to itmajoMo wrote:SandboxDiff updated.
Download and additional info in first post.
P.S.: Thanks again Casey44 and George for your useful information and feedback.
I played around with your former .BAT file.
Found following important(?):
1. Comp-Reg.html must be placed outside/higher than Defaultbox area. Otherwise I can't open it.
2. If no sandboxed activity has taken place beforehand, there is no file RegHive file! So copying to hive_1.bak fails!
Following I did:
Placed your files in separate folder C:\SandboxDif
I adapted the BAT with a
SET BoxPath=C:\Sandbox\<user>\Defaultbox
SET DiffPath=C:\SandboxDif
and used %BoxPath% and %DiffPath% everywhere in the BAT
Seemd to work ok. Guess that is about what you did now. Have to check the new EXE out further.
Problem 2. still stands.
With your new SandboxDiff.exe I get "hive path err" as content of the file Reg_Before.txt
Your helpfile could suggest a sort of dummy action in the sandbox to create the first Reghive file...
Or better maybe your pgm could test for the situation, and execute that dummy action?
I made a "Dummy.bat" (echo Hello World; exit)
Doing R-mouse | Run sandboxed runs it UN-Sandboxed (No # in title. Help! Tzuk?) but DOES create a first RegHive file.
So far my observations.
I must say I do have some problems interpreting the "Comp-" files.
I see (first glance only) some strange results.
Must be the DIFF and DIFF1 progs.
Is your SandboxDiff.exe a (sort of) compiled BAT file? With the same DIFF progs as before?
Maybe they need some looking in to.
Thanks so far, great work
I'd LOVE to have a good reg-compare for installs!
BTW: Are ALL regchanges recorded?
Casey
RegDiff not working
majoMo
In Step 3 of RegDiff.exe I get error notice
"Can not find ..\hive_1.bak"
Looking in the map (Explorer, F5-ing) I see hive_1.bak present, but disappearing when Step 3 starts.
Being deleted an instruction step too soon??
Casey
Edit: No now it's OK again.
Seems to happen 1 in ... times.
Maybe a delay before the delete. Is possible (exec queues) the step before delete is not finished when delete is done?
In Step 3 of RegDiff.exe I get error notice
"Can not find ..\hive_1.bak"
Looking in the map (Explorer, F5-ing) I see hive_1.bak present, but disappearing when Step 3 starts.
Being deleted an instruction step too soon??
Casey
Edit: No now it's OK again.
Seems to happen 1 in ... times.
Maybe a delay before the delete. Is possible (exec queues) the step before delete is not finished when delete is done?
Re: RegDiff not working
@ Casey,
Like you noticed it's needed that preexist a reghive file before SandboxDiff start their analyze. Your suggestion is adviced: to do "a sort of dummy action" when sandbox folder is empty: e.g. to open/close any .txt file sandboxed is enough. It will be included in helpfile. I'll see if to test the dummy action is easy to do... I don't know yet.
Until now I didn't see any "strange results" in "Comp-" files. It had been accurate in my tests; if for some reason you did a sandboxed analyze action, something like 'virtual' files are recorded... I don't know if it was this kind of annoyance... And yes: "SandboxDiff.exe" is a compiled .bat file: run it sandboxed in "C:\Sandbox" is enough (with "UserPath.bat" customized).
In next update SandboxDiff will support reg-compare; yes, all reg-changes are recorded from Sandboxie'process.
BTW: Your "Dummy.bat" was executed sandboxed in fact: when reghive is created the file was opened sandboxed (even without "# title"). You can test their windows'status in Sandboxie Control Panel: File > Is Windows Sandeboxed? (put a "pause" command in your .bat can help).
o
Thanks.
Like you noticed it's needed that preexist a reghive file before SandboxDiff start their analyze. Your suggestion is adviced: to do "a sort of dummy action" when sandbox folder is empty: e.g. to open/close any .txt file sandboxed is enough. It will be included in helpfile. I'll see if to test the dummy action is easy to do... I don't know yet.
Until now I didn't see any "strange results" in "Comp-" files. It had been accurate in my tests; if for some reason you did a sandboxed analyze action, something like 'virtual' files are recorded... I don't know if it was this kind of annoyance... And yes: "SandboxDiff.exe" is a compiled .bat file: run it sandboxed in "C:\Sandbox" is enough (with "UserPath.bat" customized).
In next update SandboxDiff will support reg-compare; yes, all reg-changes are recorded from Sandboxie'process.
BTW: Your "Dummy.bat" was executed sandboxed in fact: when reghive is created the file was opened sandboxed (even without "# title"). You can test their windows'status in Sandboxie Control Panel: File > Is Windows Sandeboxed? (put a "pause" command in your .bat can help).
I think you got this error because you didn't terminate all programs sandboxed (after install) - inadvertent. It's when I get that error.Casey44 wrote:In Step 3 of RegDiff.exe I get error notice
"Can not find ..\hive_1.bak"Edit: No now it's OK again.
Seems to happen 1 in ... times.
o
Thanks.
I apologise if I'm doing something very obviously wrong here, but I simply do not seem able to run *anything* from C:\sandbox. Cannot open a txt file from there with a double click, can't run an exe without getting the message 'Windows cannot access the specified path, device or file. You may not have the appropriate permissions to access the item'.
I'm logged in as administrator, and can obviously run programs and files from any other location on my computer. This problem happens when I have Sandboxie both running and not running.
Is there some kind of protection option that I need to turn off? Thanks in advance to whoever is able to point out just where in this process I am being a dolt
I'm logged in as administrator, and can obviously run programs and files from any other location on my computer. This problem happens when I have Sandboxie both running and not running.
Is there some kind of protection option that I need to turn off? Thanks in advance to whoever is able to point out just where in this process I am being a dolt
Who is online
Users browsing this forum: No registered users and 1 guest