After fbreseal, netsh failed

  • Thread starter Thread starter Perro Flaco
  • Start date Start date
P

Perro Flaco

Hi everybody!

I've a program written in C that allows me to change the IP direction
using "netsh". It works without any problem. But I've noticed that
after executing this command in my OS image:

fbreseal -autologon -keepdomain -keepmounted -keepuser

It fails. It tells me this: "Invalid interface Local area connection
specified". Any idea? It's really weird, because if after this error,
I execute "ipconfig", then everything starts working fine again.

Please, any help would be great.

Thanks!
 
Perro,

I suppose you are running netsh right after the fbreseal command in the same session (no reboot)? Then fbreseal removes all network
settings and ipconfig is probably resetting them again.

I see you don't use -keepnet switch of fbreseal.
If you set cmiRemoveNetSettings property of the System Cloning component to FALSE, it will not remove all network settings during
cloning including network bridges and named network connectoids.
 
Hello!

No, I run netsh after rebooting.

I'm going to try "-keepnet" option and see what happens.

Thank you very much for your help!
 
Yes, it works! :)

Thanks very much!

Hello!

No, I run netsh after rebooting.

I'm going to try "-keepnet" option and see what happens.

Thank you very much for your help!
 
Back
Top