After fbreseal, netsh failed

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!
 
K

KM

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.
 
P

Perro Flaco

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!
 
P

Perro Flaco

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top