Shoutbox

nuked internet connection sharing... - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: nuked internet connection sharing... (/showthread.php?tid=48621)

nuked internet connection sharing... by tomfletcherman on 08-07-2005 at 09:14 PM

I think I must have deleted the ICS service when I was obliterating a virus my darling mother/sister managed to get on there. I need it back and there are no downloads on the internet, so I need someone to locate their ICS service file (you can find it by typing 'msconfig.msc' in the run bar, then finding the ICS service, right clicking, selecting properties and then looking at the 'path to the executable' box). Could someone please post it because I've been banging my head on the desk all day wondering why pcs on my network don't connect to the internet anymore.

Its odd that ms don't have a download for it really...

edit: ok, it's not really that simple. I seems all of the network services use svchost.exe, which I have, but the service itself has been deleted without the file. Does anyone know how to create new services or even restore deleted ones?


RE: nuked internet connection sharing... by Chris4 on 08-07-2005 at 09:48 PM

Ok i'm confused.

You deleted the 'Internet Connection Service' by accident and you want someone to upload it here?

I tried following your instructions but got no where.

I typed in msconfig.msc but it said it didn't exist, so I typed in msconfig and that worked.

I then went to Services tab, but couldn't find anything that said ICS?


RE: nuked internet connection sharing... by tomfletcherman on 08-07-2005 at 10:03 PM

ooops:$ I meant to say services.msc

but I found out that that won't help anymore because the program the ICS uses hasn't been deleted, but the service that allows ICS to work has been deleted from the list in 'services.msc'. This isn't very helpful as it means I can't share my internet connection with my laptop and another desktop pc.


RE: nuked internet connection sharing... by rav0 on 08-08-2005 at 06:19 AM

Can you use 'Add/Remove Windows Components' to add it back in? (just an idea)

[Image: attachment.php?pid=508730]


RE: nuked internet connection sharing... by tomfletcherman on 08-08-2005 at 10:01 AM

I'm afraid I've already tried that and it doesn't work. I don't think anyone else has every had this problem because google comes up with nothing. Also, the virus probably deleted it and not me because that service runs the windows firewall aswell. I tried turning it on (I have a better firewall anyway) and it didn't work, so I know that this is the problem.


RE: nuked internet connection sharing... by rav0 on 08-08-2005 at 10:24 AM

I would reinstall Windows. If that fails, buy a router or format, depending on what you consider more valuable.


RE: nuked internet connection sharing... by tomfletcherman on 08-08-2005 at 04:49 PM

Well I've found out SP2 has an updated version of this service, so I shall install SP2 when I get the chance. It seems to be the only way without reformatting/installing etc.


RE: nuked internet connection sharing... by ShawnZ on 08-08-2005 at 04:53 PM

quote:
Originally posted by tomfletcherman
I think I must have deleted the ICS service when I was obliterating a virus my darling mother/sister managed to get on there. I need it back and there are no downloads on the internet, so I need someone to locate their ICS service file (you can find it by typing 'msconfig.exe' in the run bar, then finding the ICS service, right clicking, selecting properties and then looking at the 'path to the executable' box). Could someone please post it because I've been banging my head on the desk all day wondering why pcs on my network don't connect to the internet anymore.

Its odd that ms don't have a download for it really...

edit: ok, it's not really that simple. I seems all of the network services use svchost.exe, which I have, but the service itself has been deleted without the file. Does anyone know how to create new services or even restore deleted ones?

First, use services.msc instead of msconfig.exe

Second, try this:

goto Start, goto Run, type "NET START SharedAccess"

and paste the error.
RE: nuked internet connection sharing... by tomfletcherman on 08-08-2005 at 09:23 PM

The dos window opens and then closes immediately. I'm pretty sure this means it's just not there...


RE: nuked internet connection sharing... by rav0 on 08-09-2005 at 05:20 AM

Try Start > Run ..., type cmd and press OK, then enter "NET START SharedAccess" in the command interpreter.


RE: nuked internet connection sharing... by ShawnZ on 08-09-2005 at 05:59 AM

or, Start > Run > Cmd /k NET START SharedAcces

so the window stays open after the program finishes :P


RE: RE: nuked internet connection sharing... by rav0 on 08-09-2005 at 07:07 AM

quote:
Originally posted by ShawnZ
or, Start > Run > Cmd /k NET START SharedAcces

so the window stays open after the program finishes :P

* rav0 makes a note of a command that will be very valuable
RE: nuked internet connection sharing... by ShawnZ on 08-09-2005 at 07:32 AM

C:\Users\root>CMD.EXE/?
Starts a new instance of the Windows command interpreter

CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
    [[/S] [/C | /K] string]

/C      Carries out the command specified by string and then terminates
/K      Carries out the command specified by string but remains
/S      Modifies the treatment of string after /C or /K (see below)
/Q      Turns echo off
/D      Disable execution of AutoRun commands from registry (see below)
/A      Causes the output of internal commands to a pipe or file to be ANSI
/U      Causes the output of internal commands to a pipe or file to be
        Unicode
/T:fg   Sets the foreground/background colors (see COLOR /? for more info)
/E:ON   Enable command extensions (see below)
/E:OFF  Disable command extensions (see below)
/F:ON   Enable file and directory name completion characters (see below)
/F:OFF  Disable file and directory name completion characters (see below)
/V:ON   Enable delayed environment variable expansion using ! as the
        delimiter. For example, /V:ON would allow !var! to expand the
        variable var at execution time.  The var syntax expands variables
        at input time, which is quite a different thing when inside of a FOR
        loop.
/V:OFF  Disable delayed environment expansion.

Note that multiple commands separated by the command separator '&&'
are accepted for string if surrounded by quotes.  Also, for compatibility
reasons, /X is the same as /E:ON, /Y is the same as /E:OFF and /R is the
same as /C.  Any other switches are ignored.

If /C or /K is specified, then the remainder of the command line after
the switch is processed as a command line, where the following logic is
used to process quote (") characters:

    1.  If all of the following conditions are met, then quote characters
        on the command line are preserved:

        - no /S switch
        - exactly two quote characters
        - no special characters between the two quote characters,
          where special is one of: &<>()@^|
        - there are one or more whitespace characters between the
          the two quote characters
        - the string between the two quote characters is the name
          of an executable file.

    2.  Otherwise, old behavior is to see if the first character is
        a quote character and if so, strip the leading character and
        remove the last quote character on the command line, preserving
        any text after the last quote character.

If /D was NOT specified on the command line, then when CMD.EXE starts, it
looks for the following REG_SZ/REG_EXPAND_SZ registry variables, and if
either or both are present, they are executed first.

    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun

        and/or

    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun

Command Extensions are enabled by default.  You may also disable
extensions for a particular invocation by using the /E:OFF switch.  You
can enable or disable extensions for all invocations of CMD.EXE on a
machine and/or user logon session by setting either or both of the
following REG_DWORD values in the registry using REGEDIT.EXE:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\EnableExtensions

        and/or

    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\EnableExtensions

to either 0x1 or 0x0.  The user specific setting takes precedence over
the machine setting.  The command line switches take precedence over the
registry settings.

The command extensions involve changes and/or additions to the following
commands:

    DEL or ERASE
    COLOR
    CD or CHDIR
    MD or MKDIR
    PROMPT
    PUSHD
    POPD
    SET
    SETLOCAL
    ENDLOCAL
    IF
    FOR
    CALL
    SHIFT
    GOTO
    START (also includes changes to external command invocation)
    ASSOC
    FTYPE

To get specific details, type commandname /? to view the specifics.

Delayed environment variable expansion is NOT enabled by default.  You
can enable or disable delayed environment variable expansion for a
particular invocation of CMD.EXE with the /V:ON or /V:OFF switch.  You
can enable or disable delayed expansion for all invocations of CMD.EXE on a
machine and/or user logon session by setting either or both of the
following REG_DWORD values in the registry using REGEDIT.EXE:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\DelayedExpansion

        and/or

    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\DelayedExpansion

to either 0x1 or 0x0.  The user specific setting takes precedence over
the machine setting.  The command line switches take precedence over the
registry settings.

If delayed environment variable expansion is enabled, then the exclamation
character can be used to substitute the value of an environment variable
at execution time.

You can enable or disable file name completion for a particular
invocation of CMD.EXE with the /F:ON or /F:OFF switch.  You can enable
or disable completion for all invocations of CMD.EXE on a machine and/or
user logon session by setting either or both of the following REG_DWORD
values in the registry using REGEDIT.EXE:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\CompletionChar
    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\PathCompletionChar

        and/or

    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\CompletionChar
    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\PathCompletionChar

with the hex value of a control character to use for a particular
function (e.g.  0x4 is Ctrl-D and 0x6 is Ctrl-F).  The user specific
settings take precedence over the machine settings.  The command line
switches take precedence over the registry settings.

If completion is enabled with the /F:ON switch, the two control
characters used are Ctrl-D for directory name completion and Ctrl-F for
file name completion.  To disable a particular completion character in
the registry, use the value for space (0x20) as it is not a valid
control character.

Completion is invoked when you type either of the two control
characters.  The completion function takes the path string to the left
of the cursor appends a wild card character to it if none is already
present and builds up a list of paths that match.  It then displays the
first matching path.  If no paths match, it just beeps and leaves the
display alone.  Thereafter, repeated pressing of the same control
character will cycle through the list of matching paths.  Pressing the
Shift key with the control character will move through the list
backwards.  If you edit the line in any way and press the control
character again, the saved list of matching paths is discarded and a new
one generated.  The same occurs if you switch between file and directory
name completion.  The only difference between the two control characters
is the file completion character matches both file and directory names,
while the directory completion character only matches directory names.
If file completion is used on any of the built in directory commands
(CD, MD or RD) then directory completion is assumed.

The completion code deals correctly with file names that contain spaces
or other special characters by placing quotes around the matching path.
Also, if you back up, then invoke completion from within a line, the
text to the right of the cursor at the point completion was invoked is
discarded.

The special characters that require quotes are:
     <space>
     &()[]{}^=;!'+,`~

:D


RE: nuked internet connection sharing... by tomfletcherman on 08-09-2005 at 09:53 AM

Well the error is: 'The service name is invalid' so I'm pretty sure this is quite bad.