How to disable file/folder sharing?

P

Pegasus \(MVP\)

ms said:
Thanks.

I get the message "can't find services.msc" ??

Due to some of the comments, I should mention I am 76 with bad sleep as
with lots of seniors, and computing problems are sometimes not easy
compared to a younger person.

ms

Do this:
- Click Start / Run / cmd {OK}
- Type this command:
net stop server{Enter}
 
A

Andy

I want to disable file/folder sharing, Thought it was done in TweakuI,
but I don't see it.

I searched, came up with data, says:
------
1. First, right click on "My Network Places" and select "Properties".
My Network Places/Properties
2. Next, find your Network Card (probably labeled "Local Area
Connection" or the name of the type of Ethernet adapter you have
installed), right click on it, and select "Properties".
Local Area Connection/Properties
"Local Area Connection/Properties"
-----

I don't have "My Network Places" to start this procedure.

Not in My Computer. Also looked in Control Panel, Network Connections
there either New Connection, or my existing DUN connection, in either
case, Properties does not do the above. Internet Options didn't help
either.

Two issues:
Disable the sharing.

Open My Computer. Right click on the drive you want to disable
sharing, and select Properties. Under the Sharing tab, select Do not
share this folder.
Find My Network Places

It should be on the Desktop. Open My Computer. Then go up one level in
the directory structure.
 
M

ms

Andy said:
Open My Computer. Right click on the drive you want to disable
sharing, and select Properties. Under the Sharing tab, select Do not
share this folder.


It should be on the Desktop. Open My Computer. Then go up one level in
the directory structure.
Did that, but it's not there, just desktop icons.

ms
 
M

ms

Try running this command in the Run box:

%systemroot%\system32\services.msc

To make things easier and to avoid typing errors you can copy and
paste it.

John

Thanks, that command did it. It's long, but below is the servces list.
Maybe I missed it, but I don't see an obvious one to disable for
file/folder sharing.

Name Description Status Startup Type Log On As
Alerter Notifies selected users and computers of administrative
alerts. Disabled LocalSystem
AntiVir PersonalEdition Classic Guard Offers permanent protection
against viruses and malware with the AntiVir search engine.
Disabled LocalSystem
AntiVir PersonalEdition Classic Scheduler Service to schedule AntiVir
jobs and updates. Disabled LocalSystem
Application Management Provides software installation services such as
Assign, Publish, and Remove. Manual LocalSystem
ASP.NET State Service Provides support for out-of-process session
states for ASP.NET. If this service is stopped, out-of-process requests
will not be processed. If this service is disabled, any services that
explicitly depend on it will fail to start. Manual .
\ASPNET
a-squared Anti-Dialer Service Scans the PC for unwanted software and
provides protection from malicious code Disabled LocalSystem
Ati HotKey Poller Started Automatic LocalSystem
ATI Smart Automatic LocalSystem
Automatic Updates Enables the download and installation of critical
Windows updates. If the service is disabled, the operating system can be
manually updated at the Windows Update Web site. Manual
LocalSystem
Background Intelligent Transfer Service Transfers files in the
background using idle network bandwidth. If the service is disabled, then
any functions that depend on BITS, such as Windows Update or MSN Explorer
will be unable to automatically download programs and other information.
Manual LocalSystem
bdss Scans media for viruses and other security threats
Automatic LocalSystem
ClipBook Supports ClipBook Viewer, which allows pages to be seen by
remote ClipBooks. Manual LocalSystem
COM+ Event System Provides automatic distribution of events to
subscribing COM components. Started Manual LocalSystem
Computer Browser Maintains an up-to-date list of computers on your
network and supplies the list to programs that request it. Manual
LocalSystem
DCSPGSRV Used in DiamondCS products for various security purposes
Disabled LocalSystem
DHCP Client Manages network configuration by registering and updating IP
addresses and DNS names. Automatic LocalSystem
Distributed Link Tracking Client Sends notifications of files moving
between NTFS volumes in a network domain. Manual LocalSystem
Distributed Transaction Coordinator Coordinates transactions that are
distributed across two or more databases, message queues, file systems,
or other transaction protected resource managers. Started
Automatic LocalSystem
DNS Client Resolves and caches Domain Name System (DNS) names.
Disabled LocalSystem
Event Log Logs event messages issued by programs and Windows. Event
Log reports contain information that can be useful in diagnosing
problems. Reports are viewed in Event Viewer. Started Automatic
LocalSystem
Fax Service Helps you send and receive faxes Manual
LocalSystem
Indexing Service Disabled LocalSystem
Internet Connection Sharing Provides network address translation,
addressing, and name resolution services for all computers on your home
network through a dial-up connection. Manual LocalSystem
IPSEC Policy Agent Manages IP security policy and starts the
ISAKMP/Oakley (IKE) and the IP security driver. Started Automatic
LocalSystem
Kerio Personal Firewall Started Automatic LocalSystem
Logical Disk Manager Logical Disk Manager Watchdog Service Started
Automatic LocalSystem
Logical Disk Manager Administrative Service Administrative service
for disk management requests Manual LocalSystem
Messenger Sends and receives messages transmitted by administrators or
by the Alerter service. Disabled LocalSystem
Net Logon Supports pass-through authentication of account logon events
for computers in a domain. Manual LocalSystem
NetMeeting Remote Desktop Sharing Allows authorized people to remotely
access your Windows desktop using NetMeeting. Manual
LocalSystem
Network Connections Manages objects in the Network and Dial-Up
Connections folder, in which you can view both local area network and
remote connections. Started Automatic LocalSystem
Network DDE Provides network transport and security for dynamic data
exchange (DDE). Manual LocalSystem
Network DDE DSDM Manages shared dynamic data exchange and is used by
Network DDE Manual LocalSystem
NT LM Security Support Provider Provides security to remote procedure
call (RPC) programs that use transports other than named pipes.
Manual LocalSystem
Performance Logs and Alerts Configures performance logs and alerts.
Manual LocalSystem
Plug and Play Manages device installation and configuration and
notifies programs of device changes. Started Automatic
LocalSystem
Print Spooler Loads files to memory for later printing. Started
Automatic LocalSystem
Protected Storage Provides protected storage for sensitive data, such as
private keys, to prevent access by unauthorized services, processes, or
users. Started Automatic LocalSystem
QoS RSVP Provides network signaling and local traffic control setup
functionality for QoS-aware programs and control applets. Manual
LocalSystem
Remote Access Auto Connection Manager Creates a connection to a
remote network whenever a program references a remote DNS or NetBIOS name
or address. Started Automatic LocalSystem
Remote Access Connection Manager Creates a network connection. Started
Automatic LocalSystem
Remote Procedure Call (RPC) Provides the endpoint mapper and other
miscellaneous RPC services. Started Automatic LocalSystem
Remote Procedure Call (RPC) Locator Manages the RPC name service
database. Manual LocalSystem
Remote Registry Service Allows remote registry manipulation.
Disabled LocalSystem
Removable Storage Manages removable media, drives, and libraries. Started
Automatic LocalSystem
Routing and Remote Access Offers routing services to businesses in
local area and wide area network environments. Disabled
LocalSystem
RunAs Service Enables starting processes under alternate credentials
Started Automatic LocalSystem
Security Accounts Manager Stores security information for local user
accounts. Started Automatic LocalSystem
Smart Card Manages and controls access to a smart card inserted into a
smart card reader attached to the computer. Manual
LocalSystem
Smart Card Helper Provides support for legacy smart card readers attached
to the computer. Manual LocalSystem
sp_rssrv Automatic LocalSystem
System Event Notification Tracks system events such as Windows logon,
network, and power events. Notifies COM+ Event System subscribers of
these events. Started Automatic LocalSystem
Task Scheduler Enables a program to run at a designated time. Started
Automatic LocalSystem
TCP/IP NetBIOS Helper Service Enables support for NetBIOS over TCP/IP
(NetBT) service and NetBIOS name resolution. Automatic
LocalSystem
Telephony Provides Telephony API (TAPI) support for programs that
control telephony devices and IP based voice connections on the local
computer and, through the LAN, on servers that are also running the
service. Started Automatic LocalSystem
Telnet Allows a remote user to log on to the system and run console
programs using the command line. Manual LocalSystem
Uninterruptible Power Supply Manages an uninterruptible power supply
(UPS) connected to the computer. Manual LocalSystem
Utility Manager Starts and configures accessibility tools from one
window Manual LocalSystem
Windows Installer Installs, repairs and removes software according to
instructions contained in .MSI files. Manual LocalSystem
Windows Management Instrumentation Provides system management
information. Started Automatic LocalSystem
Windows Management Instrumentation Driver Extensions Provides systems
management information to and from drivers. Started Manual
LocalSystem
Windows Time Sets the computer clock. Manual
LocalSystem
Wireless Configuration Provides authenticated network access control
using IEEE 802.1x for wired and wireless Ethernet networks. Manual
LocalSystem
Workstation Provides network connections and communications.
Disabled LocalSystem
XCOMM Automatic LocalSystem

Advice?

ms
 
M

ms

This all seems moot since there appears to be no TCP connections in the
first place.

Maybe not related, but for DUN I do use TCP/IP, and it is, of course,
enabled.

ms
 
J

John John (MVP)

ms said:
Thanks, that command did it. It's long, but below is the servces list.
Maybe I missed it, but I don't see an obvious one to disable for
file/folder sharing.

If the Server service isn't showing in the list it means that File and
Printer Sharing is not installed, none of your connections are bound to it.

John
 
P

Pegasus \(MVP\)

ms said:
Thanks, I want to see if the data in my reply to John John has some
result.

ms

You could have saved yourself the trouble of all this typing in
your reply to John John. The command I recommended would
have told you immediately whether the "Server" service is installed,
active or not available. It's these two simple steps:
- Click Start / Run / cmd {OK}
- Type this command:
net stop server{Enter}
 
M

ms

You could have saved yourself the trouble of all this typing in
your reply to John John. The command I recommended would
have told you immediately whether the "Server" service is installed,
active or not available. It's these two simple steps:
- Click Start / Run / cmd {OK}
- Type this command:
net stop server{Enter}

Thanks, results:

C:\>net stop server
The Server service is not started.

In this case "not started" appears to mean not active/not available?
Which explains some of the other results?

ms
 
P

Pegasus \(MVP\)

ms said:
Thanks, results:

C:\>net stop server
The Server service is not started.

In this case "not started" appears to mean not active/not available?
Which explains some of the other results?

ms

It means two things:
a) The "server" services exists.
b) It is not running right now.

It also means that the "server" service could be started by
some agent, without you knowing about it. To disable it, do this:
- Click Start / Run / cmd {OK}
- Type this command:
sc config server start= disabled

Be careful with the spaces in this command - some of them
are very important!
 
M

ms

It means two things:
a) The "server" services exists.
b) It is not running right now.

It also means that the "server" service could be started by
some agent, without you knowing about it. To disable it, do this:
- Click Start / Run / cmd {OK}
- Type this command:
sc config server start= disabled

Be careful with the spaces in this command - some of them
are very important!
message:

'sc' is not recognized as an internal or external command, operable
program or batch file.

Comment?

BTW, when in the prevous message I pasted into my reply the text from the
DOS screen, CTRL/C put it into clipboard.

This time, CTRL/C did not work. What is a reliable method to copy the
message?



ms
 
P

Pegasus \(MVP\)

See below.

ms said:
message:

'sc' is not recognized as an internal or external command, operable
program or batch file.

Comment?

This simply means that sc.exe is not available on your system.
I now realise that it comes with the Windows Resource Kit.
In such cases Google is your friend: In its search box you type
something like
download "sc.exe"
and hey presto! it spits out lots of sites such as this one:
ftp://ftp.microsoft.com/reskit/win2000/sc.zip
Download the file, unzip it, then place it into the c:\WinNT folder.
You can also download a copy from my own site (but only
for a limited time):
http://www.hotlinkfiles.com/files/1214780_qy9dg/sc.exe
BTW, when in the prevous message I pasted into my reply the text from the
DOS screen, CTRL/C put it into clipboard.

This time, CTRL/C did not work. What is a reliable method to copy the
message?

Ctrl+C will work if you first mark the text. Your problem was
probably that you could not paste the command into your
Command Prompt. Here is how it's done:
- Start a Command Prompt.
- Press Alt+Space Bar
- Press E, then P
 
M

ms

See below.



This simply means that sc.exe is not available on your system.
I now realise that it comes with the Windows Resource Kit.
In such cases Google is your friend: In its search box you type
something like
download "sc.exe"
and hey presto! it spits out lots of sites such as this one:
ftp://ftp.microsoft.com/reskit/win2000/sc.zip
Download the file, unzip it, then place it into the c:\WinNT folder.
You can also download a copy from my own site (but only
for a limited time):
http://www.hotlinkfiles.com/files/1214780_qy9dg/sc.exe


Ctrl+C will work if you first mark the text. Your problem was
probably that you could not paste the command into your
Command Prompt. Here is how it's done:
- Start a Command Prompt.
- Press Alt+Space Bar
- Press E, then P
Thanks, Pegasus. will post back.

ms
 
M

ms

See below.



This simply means that sc.exe is not available on your system.
I now realise that it comes with the Windows Resource Kit.
In such cases Google is your friend: In its search box you type
something like
download "sc.exe"
and hey presto! it spits out lots of sites such as this one:
ftp://ftp.microsoft.com/reskit/win2000/sc.zip
Download the file, unzip it, then place it into the c:\WinNT folder.
You can also download a copy from my own site (but only
for a limited time):
http://www.hotlinkfiles.com/files/1214780_qy9dg/sc.exe


Ctrl+C will work if you first mark the text. Your problem was
probably that you could not paste the command into your
Command Prompt. Here is how it's done:
- Start a Command Prompt.
- Press Alt+Space Bar
- Press E, then P
Thanks for the help and that file, it got an answer:
---
C:\>sc config server start= disabled
[SC] OpenService FAILED 1060:

The specified service does not exist as an installed service.
----

Comment?

I am finding that CTRL+C to copy a DOS window screen is sensitive, you
have to highlight not only the text, but extend the highlight to the
right edge of the screen.

BTW, I got no answer to my Repost- Popup during Copy/Move post here or on
the very active XP ng. Is the registry key involved really unknown?

ms
 
P

Pegasus \(MVP\)

ms said:
See below.



This simply means that sc.exe is not available on your system.
I now realise that it comes with the Windows Resource Kit.
In such cases Google is your friend: In its search box you type
something like
download "sc.exe"
and hey presto! it spits out lots of sites such as this one:
ftp://ftp.microsoft.com/reskit/win2000/sc.zip
Download the file, unzip it, then place it into the c:\WinNT folder.
You can also download a copy from my own site (but only
for a limited time):
http://www.hotlinkfiles.com/files/1214780_qy9dg/sc.exe


Ctrl+C will work if you first mark the text. Your problem was
probably that you could not paste the command into your
Command Prompt. Here is how it's done:
- Start a Command Prompt.
- Press Alt+Space Bar
- Press E, then P
Thanks for the help and that file, it got an answer:
---
C:\>sc config server start= disabled
[SC] OpenService FAILED 1060:

The specified service does not exist as an installed service.
----

Comment?

I am finding that CTRL+C to copy a DOS window screen is sensitive, you
have to highlight not only the text, but extend the highlight to the
right edge of the screen.

BTW, I got no answer to my Repost- Popup during Copy/Move post here or on
the very active XP ng. Is the registry key involved really unknown?

ms

We appear to get some contradictory results. You previously
reported this:
net stop server
The Server service is not started
This implies that the "Server" service exists but is not started.

Now you report this:
sc config server start= disabled
OpenService FAILED 1060:
The specified service does not exist as an installed service.
This implies that the "Server" service does not exist.

We obviously cannot have it both ways. I suspect some
typographical errors or some error in reporting. To resolve
the issue, do this:
1. Download this batch file and store it as c:\ms.bat:
http://www.hotlinkfiles.com/files/1216903_oxyuu/ms.bat
2. Click Start / Run / c:\ms.bat{OK}
3. Copy and paste the contents of the screen into your reply.
Please note that the command sc.exe (which you downloaded
before) MUST be located in c:\Windows or in c:\Windows\System32.
 
N

nesredep egrob

ms said:
See below.

@TK2MSFTNGP05.phx.gbl:
snip

It means two things:
a) The "server" services exists.
b) It is not running right now.

It also means that the "server" service could be started by
some agent, without you knowing about it. To disable it, do this:
- Click Start / Run / cmd {OK}
- Type this command:
sc config server start= disabled

Be careful with the spaces in this command - some of them
are very important!


message:

'sc' is not recognized as an internal or external command, operable
program or batch file.

Comment?

This simply means that sc.exe is not available on your system.
I now realise that it comes with the Windows Resource Kit.
In such cases Google is your friend: In its search box you type
something like
download "sc.exe"
and hey presto! it spits out lots of sites such as this one:
ftp://ftp.microsoft.com/reskit/win2000/sc.zip
Download the file, unzip it, then place it into the c:\WinNT folder.
You can also download a copy from my own site (but only
for a limited time):
http://www.hotlinkfiles.com/files/1214780_qy9dg/sc.exe

BTW, when in the prevous message I pasted into my reply the text from
the DOS screen, CTRL/C put it into clipboard.

This time, CTRL/C did not work. What is a reliable method to copy the
message?

Ctrl+C will work if you first mark the text. Your problem was
probably that you could not paste the command into your
Command Prompt. Here is how it's done:
- Start a Command Prompt.
- Press Alt+Space Bar
- Press E, then P
Thanks for the help and that file, it got an answer:
---
C:\>sc config server start= disabled
[SC] OpenService FAILED 1060:

The specified service does not exist as an installed service.
----

Comment?

I am finding that CTRL+C to copy a DOS window screen is sensitive, you
have to highlight not only the text, but extend the highlight to the
right edge of the screen.

BTW, I got no answer to my Repost- Popup during Copy/Move post here or on
the very active XP ng. Is the registry key involved really unknown?

ms

We appear to get some contradictory results. You previously
reported this:
net stop server
The Server service is not started
This implies that the "Server" service exists but is not started.

Now you report this:
sc config server start= disabled
OpenService FAILED 1060:
The specified service does not exist as an installed service.
This implies that the "Server" service does not exist.

We obviously cannot have it both ways. I suspect some
typographical errors or some error in reporting. To resolve
the issue, do this:
1. Download this batch file and store it as c:\ms.bat:
http://www.hotlinkfiles.com/files/1216903_oxyuu/ms.bat
2. Click Start / Run / c:\ms.bat{OK}
3. Copy and paste the contents of the screen into your reply.
Please note that the command sc.exe (which you downloaded
before) MUST be located in c:\Windows or in c:\Windows\System32.

I have been lurking here as I think it is quite illuminating - I also admire
your tenacity. Therefore I have learnt a great deal but I have had to downlaod
the SC.exe and that was instantly wiped out, I think by spywaredetector. I still
have the file sitting in my download folder and I see it is only 4kb - have I
got the wrong file - I am not worried as I have no end of protection. If your
sc.exe is not 4kb, I hsall have to look for another version

Børge in sunny Perth, Australia
 
P

Pegasus \(MVP\)

I have been lurking here as I think it is quite illuminating - I also
admire
your tenacity. Therefore I have learnt a great deal but I have had to
downlaod
the SC.exe and that was instantly wiped out, I think by spywaredetector. I
still
have the file sitting in my download folder and I see it is only 4kb -
have I
got the wrong file - I am not worried as I have no end of protection. If
your
sc.exe is not 4kb, I hsall have to look for another version

Børge in sunny Perth, Australia

My version of sc.exe is 31,323 bytes in size. You can
still get it from here: ftp://ftp.microsoft.com/reskit/win2000/sc.zip
 
M

ms

My version of sc.exe is 31,323 bytes in size. You can
still get it from here: ftp://ftp.microsoft.com/reskit/win2000/sc.zip

I downloaded it from your site yesterday, it worked fine. But looking at
the above, my file size is 31,232 bytes ??

Can you run a checksum on your file and post it, so I can compare?

I must have finally run into the MS requirement that you must use IE to
download from MS. I use Firefox, got "page not found", ran my old default
IE, same result.

ms
 
M

ms

ms said:
See below.

@TK2MSFTNGP05.phx.gbl:
snip

It means two things:
a) The "server" services exists.
b) It is not running right now.

It also means that the "server" service could be started by
some agent, without you knowing about it. To disable it, do this:
- Click Start / Run / cmd {OK}
- Type this command:
sc config server start= disabled

Be careful with the spaces in this command - some of them
are very important!


message:

'sc' is not recognized as an internal or external command, operable
program or batch file.

Comment?

This simply means that sc.exe is not available on your system.
I now realise that it comes with the Windows Resource Kit.
In such cases Google is your friend: In its search box you type
something like
download "sc.exe"
and hey presto! it spits out lots of sites such as this one:
ftp://ftp.microsoft.com/reskit/win2000/sc.zip
Download the file, unzip it, then place it into the c:\WinNT folder.
You can also download a copy from my own site (but only
for a limited time):
http://www.hotlinkfiles.com/files/1214780_qy9dg/sc.exe

BTW, when in the prevous message I pasted into my reply the text
from the DOS screen, CTRL/C put it into clipboard.

This time, CTRL/C did not work. What is a reliable method to copy
the message?

Ctrl+C will work if you first mark the text. Your problem was
probably that you could not paste the command into your
Command Prompt. Here is how it's done:
- Start a Command Prompt.
- Press Alt+Space Bar
- Press E, then P
Thanks for the help and that file, it got an answer:
---
C:\>sc config server start= disabled
[SC] OpenService FAILED 1060:

The specified service does not exist as an installed service.
----

Comment?

I am finding that CTRL+C to copy a DOS window screen is sensitive,
you have to highlight not only the text, but extend the highlight to
the right edge of the screen.

BTW, I got no answer to my Repost- Popup during Copy/Move post here
or on the very active XP ng. Is the registry key involved really
unknown?

ms

We appear to get some contradictory results. You previously
reported this:
net stop server
The Server service is not started
This implies that the "Server" service exists but is not started.

Now you report this:
sc config server start= disabled
OpenService FAILED 1060:
The specified service does not exist as an installed service.
This implies that the "Server" service does not exist.

We obviously cannot have it both ways. I suspect some
typographical errors or some error in reporting. To resolve
the issue, do this:
1. Download this batch file and store it as c:\ms.bat:
http://www.hotlinkfiles.com/files/1216903_oxyuu/ms.bat
2. Click Start / Run / c:\ms.bat{OK}
3. Copy and paste the contents of the screen into your reply.
Please note that the command sc.exe (which you downloaded
before) MUST be located in c:\Windows or in c:\Windows\System32.

I had sc in Winnit as you mentioned before, just moved it to System32.

Ran the bat file:
-----
Ati HotKey Poller
COMon 04/14/2008 6:43:03.09
These Windows 2000 services are started:


M+ Event System
Distributed Transaction Coordinator
Event Log
IPSEC Policy Agent
Logical Disk Manager
Network Connections
Plug and Play
Print Spooler
Protected Storage
Remote Access Auto Connection Manager
Remote Access Connection Manager
Remote Procedure Call (RPC)
Removable Storage
RunAs Service
Security Accounts Manager
System Event Notification
Task Scheduler
Telephony
Windows Management Instrumentation
Windows Management Instrumentation Driver Extensions

The command completed successfully.


Command=sc config server start= disabled
[SC] OpenService FAILED 1060:

The specified service does not exist as an installed service.


Command=net share
Command=net use
Command=net share DriveC=C:\
Command=net share
Command=net use Q: \\P2\Drivec
Command=net use
--------

If the Server service is not installed, what is a likely reason? The OS was
installed by the tech that built my computer, he knew it would only be a
home machine on dialup, if that is a clue.

ms
 
P

Pegasus \(MVP\)

ms said:
I downloaded it from your site yesterday, it worked fine. But looking at
the above, my file size is 31,232 bytes ??

Can you run a checksum on your file and post it, so I can compare?

I must have finally run into the MS requirement that you must use IE to
download from MS. I use Firefox, got "page not found", ran my old default
IE, same result.

ms

My version of sc.exe is not necessarily exactly the same as the
one on the Microsoft site - it depends on the upgrade level. If this
concerns you, download the MS version. And the MS site I gave
you is most definitely correct!
 

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

Similar Threads


Top