Error Disabling Connection

C

chuck

Found this pc along the roadside. A P4 2.4Ghz.
Have added a hard drive and installed XP Pro SP3
and found drivers off the net.

As with my other machines, I have made a shortcut on
the desktop for the LAN Network Connection which connects
to my DSL modem. That part works ok.

But ... when I try to disconnect the network connection, I
get a nastgram: "It is not possible to disable the connection
at this time. This connection may be using one or more protocols
that do not support Plug-and-Play, or it may have been initiated
by another user or the system account."

WTF ... Over.

What does this mean in English and is there anything I can change
to be able to disable this connection???

Hmmm ... maybe disable the LAN port in BIOS and add a LAN
adaptor??
 
B

Brian A.

chuck said:
Found this pc along the roadside. A P4 2.4Ghz.
Have added a hard drive and installed XP Pro SP3
and found drivers off the net.

As with my other machines, I have made a shortcut on
the desktop for the LAN Network Connection which connects
to my DSL modem. That part works ok.

But ... when I try to disconnect the network connection, I
get a nastgram: "It is not possible to disable the connection
at this time. This connection may be using one or more protocols
that do not support Plug-and-Play, or it may have been initiated
by another user or the system account."

WTF ... Over.

What does this mean in English and is there anything I can change
to be able to disable this connection???

Hmmm ... maybe disable the LAN port in BIOS and add a LAN
adaptor??

See if this helps:
http://www.chicagotech.net/troubleshooting/disablenic.htm

--

Brian A. Sesko
Conflicts start where information lacks.
http://basconotw.mvps.org/

Suggested posting do's/don'ts: http://members.shaw.ca/dts-l/goodpost.htm
How to ask a question: http://support.microsoft.com/kb/555375
 
P

Pegasus [MVP]

chuck said:
Found this pc along the roadside. A P4 2.4Ghz.
Have added a hard drive and installed XP Pro SP3
and found drivers off the net.

As with my other machines, I have made a shortcut on
the desktop for the LAN Network Connection which connects
to my DSL modem. That part works ok.

But ... when I try to disconnect the network connection, I
get a nastgram: "It is not possible to disable the connection
at this time. This connection may be using one or more protocols
that do not support Plug-and-Play, or it may have been initiated
by another user or the system account."

WTF ... Over.

What does this mean in English and is there anything I can change
to be able to disable this connection???

Hmmm ... maybe disable the LAN port in BIOS and add a LAN
adaptor??

It's a long shot but you could try the batch file below. It relies on
devcon.exe which you can download from here:
http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2-896f-9ce67f3e0240/devcon.exe.
Do not retype the code - use copy & paste, then set the correct name of your
NIC.

@echo off
goto Start
---------------------------------------------------
Use this batch file to enable or disable a device
from the Command Prompt.
16.4.2006 FNL
---------------------------------------------------
:Start
SetLocal EnableDelayedExpansion
set Adapter=Broadcom NetXtreme Fast Ethernet

if /i "%1"=="enable" goto go
if /i "%1"=="disable" goto go
echo Syntax: Device enable / disable
goto :eof

:go
set HWID=x
set count=0
set found=no

devcon hwids "PCI\*" > c:\device.txt
for /F "tokens=*" %%* in (c:\device.txt) do (
set /a count=!count! + 1
if /i "%%*"=="Name: %Adapter%" set found=yes& set count=1
if !found!==yes if !count!==3 set HWID=%%*
)
if %found%==yes (
echo HWID=!HWID!
devcon %1 "!HWID!"
) else (
echo Device "%Adapter%" not found.
)
endlocal
del c:\device.txt
 
C

chuck

Thanks, but I found another BAT file online that
fixed it. Did a reconfigure on cryptographic services.
 
P

Pegasus [MVP]

chuck said:
Thanks, but I found another BAT file online that
fixed it. Did a reconfigure on cryptographic services.

Let's see your solution for the benefit of other posters with a similar
problem!
 
C

chuck

Pegasus said:
Let's see your solution for the benefit of other posters with a similar
problem!

@echo off
:: Batch file that tries to remedy error # 800710D9
:: "Unable to read from or write to the database".
:: Author: Torgeir Bakken
:: Date: 2004-08-30

cls
echo This batch file will now try to remedy the error 0x800710D9.
echo To abort and not run it now, hold down Ctrl and press C.
echo Otherwise press the space bar to continue.
pause

:: Stop the Cryptographic service
%SystemRoot%\System32\net.exe stop CryptSvc

:: Rename all log files in the %SystemRoot%\Security folder
FOR %%a in (%SystemRoot%\Security\*.log) DO move /y %%a %%a.old

:: Rename the %SystemRoot%\System32\CatRoot2 folder
move /y %SystemRoot%\System32\CatRoot2 %SystemRoot%\System32\CatRoot2old

IF not exist %SystemRoot%\System32\CatRoot2 GOTO CONT01

:: In case the folder rename failed because of locked files
:: rename all log files in the %SystemRoot%\System32\CatRoot2 folder
FOR %%a in (%SystemRoot%\System32\CatRoot2\*.log) DO move /y %%a %%a.old
SET catroot2locked=True

:CONT01
cls
echo.
echo Please wait, this might take some time...

:: Unregister DLL files that are associated with Cryptographic Services
CD /D %SystemRoot%\System32
start /wait regsvr32.exe /s /u softpub.dll
start /wait regsvr32.exe /s /u wintrust.dll
start /wait regsvr32.exe /s /u initpki.dll
start /wait regsvr32.exe /s /u dssenh.dll
start /wait regsvr32.exe /s /u rsaenh.dll
start /wait regsvr32.exe /s /u gpkcsp.dll
start /wait regsvr32.exe /s /u sccbase.dll
start /wait regsvr32.exe /s /u slbcsp.dll
start /wait regsvr32.exe /s /u cryptdlg.dll

:: Reregister DLL files that are associated with Cryptographic Services
start /wait regsvr32.exe /s softpub.dll
start /wait regsvr32.exe /s wintrust.dll
start /wait regsvr32.exe /s initpki.dll
start /wait regsvr32.exe /s dssenh.dll
start /wait regsvr32.exe /s rsaenh.dll
start /wait regsvr32.exe /s gpkcsp.dll
start /wait regsvr32.exe /s sccbase.dll
start /wait regsvr32.exe /s slbcsp.dll
start /wait regsvr32.exe /s cryptdlg.dll

:: Configure and start the Cryptographic service
%SystemRoot%\system32\sc.exe config CryptSvc start= auto
:: Start the Cryptographic Service
%SystemRoot%\system32\net.exe start CryptSvc
cls

echo.
If "%catroot2locked%"=="True" GOTO CONT02
echo Finished, please reboot the computer and then try to install SP2
again...

GOTO END
:CONT02
echo Please run the batch file again with a newly restarted computer...
echo (but if it is newly restarted, just do a reboot and then try
echo to install SP2 again)...
GOTO END

:END
echo.
pause
 
P

Pegasus [MVP]

chuck said:
@echo off
:: Batch file that tries to remedy error # 800710D9
:: "Unable to read from or write to the database".
:: Author: Torgeir Bakken
:: Date: 2004-08-30

cls
echo This batch file will now try to remedy the error 0x800710D9.
echo To abort and not run it now, hold down Ctrl and press C.
echo Otherwise press the space bar to continue.
pause

:: Stop the Cryptographic service
%SystemRoot%\System32\net.exe stop CryptSvc

:: Rename all log files in the %SystemRoot%\Security folder
FOR %%a in (%SystemRoot%\Security\*.log) DO move /y %%a %%a.old

:: Rename the %SystemRoot%\System32\CatRoot2 folder
move /y %SystemRoot%\System32\CatRoot2 %SystemRoot%\System32\CatRoot2old

IF not exist %SystemRoot%\System32\CatRoot2 GOTO CONT01

:: In case the folder rename failed because of locked files
:: rename all log files in the %SystemRoot%\System32\CatRoot2 folder
FOR %%a in (%SystemRoot%\System32\CatRoot2\*.log) DO move /y %%a %%a.old
SET catroot2locked=True

:CONT01
cls
echo.
echo Please wait, this might take some time...

:: Unregister DLL files that are associated with Cryptographic Services
CD /D %SystemRoot%\System32
start /wait regsvr32.exe /s /u softpub.dll
start /wait regsvr32.exe /s /u wintrust.dll
start /wait regsvr32.exe /s /u initpki.dll
start /wait regsvr32.exe /s /u dssenh.dll
start /wait regsvr32.exe /s /u rsaenh.dll
start /wait regsvr32.exe /s /u gpkcsp.dll
start /wait regsvr32.exe /s /u sccbase.dll
start /wait regsvr32.exe /s /u slbcsp.dll
start /wait regsvr32.exe /s /u cryptdlg.dll

:: Reregister DLL files that are associated with Cryptographic Services
start /wait regsvr32.exe /s softpub.dll
start /wait regsvr32.exe /s wintrust.dll
start /wait regsvr32.exe /s initpki.dll
start /wait regsvr32.exe /s dssenh.dll
start /wait regsvr32.exe /s rsaenh.dll
start /wait regsvr32.exe /s gpkcsp.dll
start /wait regsvr32.exe /s sccbase.dll
start /wait regsvr32.exe /s slbcsp.dll
start /wait regsvr32.exe /s cryptdlg.dll

:: Configure and start the Cryptographic service
%SystemRoot%\system32\sc.exe config CryptSvc start= auto
:: Start the Cryptographic Service
%SystemRoot%\system32\net.exe start CryptSvc
cls

echo.
If "%catroot2locked%"=="True" GOTO CONT02
echo Finished, please reboot the computer and then try to install SP2
again...

GOTO END
:CONT02
echo Please run the batch file again with a newly restarted computer...
echo (but if it is newly restarted, just do a reboot and then try
echo to install SP2 again)...
GOTO END

:END
echo.
pause

Fascinating stuff. What baffles me is how you could make a connection
between your inability to disable a network adapter and the cryptographic
services. The two subjects seem totally unrelated to me.
 
C

chuck

Pegasus said:
Fascinating stuff. What baffles me is how you could make a connection
between your inability to disable a network adapter and the
cryptographic services. The two subjects seem totally unrelated to me.

According to the one that made the script: "it seems that this error is
caused by corruption in the db or problems with registered DLL files
required by the service"
 

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