PC Review Forums Newsgroups Windows XP Windows XP Embedded After fbreseal, netsh failed

Reply

After fbreseal, netsh failed

 
Thread Tools Rate Thread
Old 01-02-2007, 07:15 PM   #1
Perro Flaco
Guest
 
Posts: n/a
Default After fbreseal, netsh failed


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!

  Reply With Quote
Old 01-02-2007, 07:38 PM   #2
KM
Guest
 
Posts: n/a
Default Re: After fbreseal, netsh failed

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.

--
=========
Regards,
KM

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



  Reply With Quote
Old 02-02-2007, 08:52 AM   #3
Perro Flaco
Guest
 
Posts: n/a
Default Re: After fbreseal, netsh failed

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!


On 1 feb, 19:38, "KM" <konstmor@nospam_yahoo.com> wrote:
> 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.
>
> --
> =========
> Regards,
> KM
>
> > 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!



  Reply With Quote
Old 02-02-2007, 11:30 AM   #4
Perro Flaco
Guest
 
Posts: n/a
Default Re: After fbreseal, netsh failed

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!
>
> On 1 feb, 19:38, "KM" <konstmor@nospam_yahoo.com> wrote:
>
> > 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.

>
> > --
> > =========
> > Regards,
> > KM

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



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off