folder sharing

D

dave_140390

Hi,

I have two computers at home: one PC with Windows XP Professional,
another PC with Windows 7 Home Premium. Both PCs are connected to my
ISP's cable modem via a switch.

I would like to share a folder on Windows XP so Windows 7 could read
the files in that folder.

I have shared the directory on Windows XP to "Everyone". A hand
appears under the shared folder, so sharing seems to work.

The question is now:
How do I access the shared folder from Windows 7?

In Windows 7's, under File Manager's "Network", I can see only Windows
7 itself, not Windows XP.

-- dave
 
L

Lem

Hi,

I have two computers at home: one PC with Windows XP Professional,
another PC with Windows 7 Home Premium. Both PCs are connected to my
ISP's cable modem via a switch.

I would like to share a folder on Windows XP so Windows 7 could read
the files in that folder.

I have shared the directory on Windows XP to "Everyone". A hand
appears under the shared folder, so sharing seems to work.

The question is now:
How do I access the shared folder from Windows 7?

In Windows 7's, under File Manager's "Network", I can see only Windows
7 itself, not Windows XP.

-- dave

Connected via "a switch"?

You have to create a network between the 2 computers. Perhaps you have.
You present too little information to tell. See:
http://windows.microsoft.com/en-us/...mputers-running-different-versions-of-Windows
 
P

Pegasus [MVP]

Hi,

I have two computers at home: one PC with Windows XP Professional,
another PC with Windows 7 Home Premium. Both PCs are connected to my
ISP's cable modem via a switch.

I would like to share a folder on Windows XP so Windows 7 could read
the files in that folder.

I have shared the directory on Windows XP to "Everyone". A hand
appears under the shared folder, so sharing seems to work.

The question is now:
How do I access the shared folder from Windows 7?

In Windows 7's, under File Manager's "Network", I can see only Windows
7 itself, not Windows XP.

-- dave

- Can you ping the WinXP PC from the Windows 7 PC?
- Dooes your Windows 7 logon account/password match a WinXP
account/password?
- What do you see when you type this command at the Windows 7 Command
Prompt:
net use Q: "\\WinXPName\ShareName"
 
D

dave_140390

Connected via "a switch"?
Yes.


You have to create a network between the 2 computers. Perhaps you have.
You present too little information to tell.

Really? Well:
* the switch is connected to the IPS's cable modem with an Ethernet
cable
* each of the two PCs is connected to the switch with an Ethernet
cable

The switch is D-Link DES-1005D.

Each of the PCs can access the Internet with this setup.

-- dave
 
D

dave_140390

Hi,

Thanks for your help. Here are the answers to your questions:

- Can you ping the WinXP PC from the Windows 7 PC?

I can:

C:\>ping 192.168.0.2

Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time=1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms

C:\>

- Dooes your Windows 7 logon account/password match a WinXP
account/password?
No.


- What do you see when you type this command at the Windows 7 Command
Prompt:
net use Q: "\\WinXPName\ShareName"

I am not sure what the correct syntax of this command would be. Given
that I share directory C:\foo in the WinXP PC, should I enter:

net use Q: "\\WinXPName\foo"

or:

net use Q: "\\WinXPName\c\foo"

or one of the above without quotes?

I tried all 4 syntaxes above, with the same result:

An attempt was made to logon, but the network logon service was not
started.

-- dave
 
P

Pegasus [MVP]

Hi,

Thanks for your help. Here are the answers to your questions:



I can:

C:\>ping 192.168.0.2

Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time=1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms

C:\>



I am not sure what the correct syntax of this command would be. Given
that I share directory C:\foo in the WinXP PC, should I enter:

net use Q: "\\WinXPName\foo"

or:

net use Q: "\\WinXPName\c\foo"

or one of the above without quotes?

I tried all 4 syntaxes above, with the same result:

An attempt was made to logon, but the network logon service was not
started.

-- dave

The syntax of the "net share" command is as I gave it before:

net use Q: "\\WinXPName\ShareName"

Instead of "WinXPName" you must specify the NetBIOS name of your Windows XP
PC. You see it when you type this at the Command Prompt:
set computername

Instead of "ShareName" you must specify the name of the share that you
created (which could be different from the folder name that it refers to).
You can see all current share names when you tape this at the Command
Prompt:
net share

You should then post exactly what you see on the screen.
 
S

sanjacstudent12

Windows 7 offers a network wizard you can use to set up a homegroup. It is
in the Network and Sharing Center, at the bottom. If you haven't consciously
set up a network, use "Set up a new connection or network." Otherwise, try
the "Connect to a network" or "Choose homegroup and sharing options" links.
 
D

dave_140390

Hi,
The syntax of the "net share" command is as I gave it before:

net use Q: "\\WinXPName\ShareName"

Instead of "WinXPName" you must specify the NetBIOS name of your Windows XP
PC. You see it when you type this at the Command Prompt:
set computername

Instead of "ShareName" you must specify the name of the share that you
created (which could be different from the folder name that it refers to).
You can see all current share names when you tape this at the Command
Prompt:
net share

You should then post exactly what you see on the screen.

I should have told that I did use the real computer name instead of
"WinXPName".

The session on Windows 7 is as follows:

<session>

C:\>net use Q: "\\<COMPUTERNAME>\<share_name>"
System error 1792 has occurred.

An attempt was made to logon, but the network logon service was not
started.


C:\>

</session>

(with "<COMPUTERNAME>" equal to the XP computer name, and
"<share_name>" equal to the name of the share that I want to share)

-- dave
 
L

Lem

Really? Well:
* the switch is connected to the IPS's cable modem with an Ethernet
cable
* each of the two PCs is connected to the switch with an Ethernet
cable

The switch is D-Link DES-1005D.

Each of the PCs can access the Internet with this setup.

-- dave

Many people confuse the terms "switch," "hub," and "router," all of
which do different things. Your DES-1005D is indeed a switch -- and it's
connected to your cable modem which undoubtedly is also a router.

Terminology aside, did you read the information at the link I posted,
which explains in detail how to set up a network between a computer
running Windows 7 and a computer running XP?

The "System error 1792" is a bit unusual. That error indicates that the
"Net Logon Service" did not start. Despite the way the name of that
service sounds, it is used for *Domain* authentication when you log into
the domain. You shouldn't have a domain.

On the XP box
- right click "My Computer" and select Properties
- click the "Computer Name" tab
- ensure that the computer is in a Workgroup and not a Domain. If
necessary, click the "Change" button and ensure that the radio button
next to "Workgroup" is selected.
- write down the Workgroup name

On the Win 7 box
- right click "My Computer" and select Properties
- The workgroup name is displayed under Computer name, domain, and
workgroup settings.
- ensure that the workgroup name is the same as on the XP box. You can
change either computer.
 
D

dave_140390

Hi,
On the XP box
- right click "My Computer" and select Properties
- click the "Computer Name" tab
- ensure that the computer is in a Workgroup and not a Domain. If
necessary, click the "Change" button and ensure that the radio button
next to "Workgroup" is selected.
- write down the Workgroup name

I think you found a problem: my XP computer (which my company lends
me) is in a domain, not in a workgroup. And the "Change..." button is
greyed, so it seems that I can't put my XP computer in a workgroup.

Now, do you know if there is a way to enable the "Change..." button?
Perhaps by tweaking the registry?

Note that I do have admin rights.

-- dave
 
P

Pegasus [MVP]

Lem said:
Many people confuse the terms "switch," "hub," and "router," all of which
do different things. Your DES-1005D is indeed a switch -- and it's
connected to your cable modem which undoubtedly is also a router.

Lem

Is there room for doubt? My cable modem ist just this, a modem, and it
requires a separate router in order to provide the hardware firewall
functionality that I insist on.
 
L

Lem

Pegasus said:
Is there room for doubt? My cable modem ist just this, a modem, and it
requires a separate router in order to provide the hardware firewall
functionality that I insist on.

Yes, there is room for doubt.

But *something* assigned at least one of his computers an IP address of
192.168.0.2. It's my understanding that if you connected your computer
directly to your cable modem (which as you point out has security
disadvantages), your computer would receive its IP address from the
ISP's headend, and it would be a public IP address (i.e., not
192.168.x.y).

But having to guess like this is why my first response was that the OP
had not provided sufficient information.
 
P

Pegasus [MVP]

Lem said:
Yes, there is room for doubt.

But *something* assigned at least one of his computers an IP address of
192.168.0.2. It's my understanding that if you connected your computer
directly to your cable modem (which as you point out has security
disadvantages), your computer would receive its IP address from the ISP's
headend, and it would be a public IP address (i.e., not 192.168.x.y).

Lem

I fully agree.
 
L

Lem

Hi,


I think you found a problem: my XP computer (which my company lends
me) is in a domain, not in a workgroup. And the "Change..." button is
greyed, so it seems that I can't put my XP computer in a workgroup.

Now, do you know if there is a way to enable the "Change..." button?
Perhaps by tweaking the registry?

Note that I do have admin rights.

-- dave

The issue isn't enabling the button, but the problem of sharing files
between a computer in a domain and a computer in a workgroup.

I don't know enough about domains (or Windows 7) to give you a
definitive answer, but my best guess is the following:

It sounds as if you are logging onto to your company XP computer using
your cached domain credentials. What you want to do is to log on as a
local user.

If you don't have a local user account, see:
http://windows.microsoft.com/en-US/windows-vista/Create-a-user-account

Once you've logged in to the XP box as a local user, you may have
problems accessing the Internet. If so, change the workgroup name to be
the same as the domain name.

Whether you leave the workgroup at its default or change it to be the
same as the domain name, you'll probably have to change the Win 7
computer's workgroup to match.
 
D

dave_140390

Hi Lem,

Thank you for the advice.


I added a (local?) user with Control Panel -> Administrative Tools ->
Computer Management -> Local Users and Groups -> Users -> <right
click> -> New User...

Once you've logged in to the XP box as a local user, you may have
problems accessing the Internet. If so, change the workgroup name to be
the same as the domain name.

I logged off: Start -> Shut Down... -> Log off <my current username>.

Then, I logged on as the (local?) user I had just created, by using
<my_computer_name> as the domain.

I did not have problems accessing the Internet as this (local?) user.
At least my browser works fine.

Whether you leave the workgroup at its default or change it to be the
same as the domain name, you'll probably have to change the Win 7
computer's workgroup to match.

What is the workgroup of the (local?) user I just created? How do I
determine it? Note that when I logged as the local user, the system
was asking also for a domain. Does this mean that I am not in a
workgroup (from http://windows.microsoft.com/en-us/windows-vista/How-is-a-network-at-home-different-from-one-at-work,
I understand that a computer is either part of a domain or of a
workgroup, but not both)?


-- dave
 

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