In Window Server 2012, I can see a shared folder on a Windows 2000 server, but I need to create a shared folder on Window Server 2012 that can be seen from the Windows 2000 Server.
This shared folder must be secured and only the administrator of Server 2012 and 2000 can see it. How can I set up this shared folder on Windows Server 2012?
Windows Server 2012Windows 2000
Last Comment
John
8/22/2022 - Mon
CompProbSolv
Are these on the same domain?
Have you gone through the normal procedures to create a share on the 2012 server and given rights only to Administrator?
John
See if you can use NTLM Authentication on Server 2000
To enable a Windows 95, Windows 98, or Windows 98 Second Edition client for NTLM 2 authentication, install the Directory Services Client.
To enable a modern 64-bit system to connect to the above guests, activate NTLM 2 on the host machine, follow these steps:
1. Start Registry Editor (Regedit.exe) on the host machine.
2. Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
3. Create a new DWORD (32-bit) Value under LSA registry key as shown in step 4.
On the Edit menu, click New DWORD (32-bit) Value as follows:
Value Name: LMCompatibility
Data Type: REG_DWORD
Value: 1 (for legacy systems)
I have used this for older workstation but not servers. So you can try it and see if it allows you to see from Server 2000 to Server 2012.
The gap is pretty wide and you may be stuck with mapping from Server 2012 to Server 2000.
Shaun Vermaak
If you have Admin rights on the 2012 R2 server you do not need to create a share, you can use the Admin$ shares for example
Use my first description here describing NTLM authorization in detail.
benc007
ASKER
I created a shared drive on Windows Server 2012 but in Windows Server 2000, I need to manually go to "My Network Places" and go to Windows Server 2012 to login before I can access the shared folder.
How can I bypass this manual login, which appears everytime Windows Server 2000 is rebooted?
You can try a script that contains the user name and password. That should work. It lacks security but if the servers are otherwise controlled, it should be OK.
benc007
ASKER
John Hurst - I haven't done this before. Is there a sample script with user name and password that would do this auto login when Windows Server 2000 reboots so this machine has access to the shared folder on Windows Server 2012?
John
Try NET USE X: \\Server\C$ /user:DOMAIN\username password. As noted, it is not secure but there are simple huge differences between Server 2012 and 2000.
1) What is the value of X?
2) Are "Server" and "ServerName" the name of the Server 2012 or 2000 machine?
3) Would this script be on Server 2012 or 2000? Is it a .bat file that I would run as a Scheduled Task when the machine starts up?
John
"X" is just a drive letter. Use Z, T or whatever.
In your example, first post, Server (ServeName) is the name of Server 2012 because you are doing this on the Server 2000 machine.
The script would be a .BAT file on the Server 2000 machine. You could try it as a scheduled task of course.
RE: NET USE X: \\Server\C$ /user:DOMAIN\username password
What is "C$" and "DOMAIN"?
How can I see the DOMAIN value from Windows Server 2000 or 2012?
I used the following in a .bat file but it didn't work:
NET USE X: \\Server2012Name\C$ /user:DOMAIN\Server2012Username Server2012Password
Where:
X - drive latter to map to
Server2012Name - my Server 2012 computer name
Server2012Username - my Server 2012 login
Server2012Password - my Server 2012 password
John
C$ is the root folder
DOMAIN is the name of the Server 2012 domain
Domain can be seen in Computer, right click, Properties, Name.
benc007
ASKER
RE: Domain can be seen in Computer, right click, Properties, Name.
I can see computer name, full computer name, computer description, and workgroup. I don't see Domain here.
And by the way, it will be MUCH easier to map a Server 2000 folder from Server 2012 rather than the other way around.
benc007
ASKER
RE: it will be MUCH easier to map a Server 2000 folder from Server 2012 rather than the other way around.
I don't know how to do this. I can't see Server 2000 from Server 2012, but I can see Server 2012 from Server 2000.
RE: NET USE X: \\ip_address_of_server_2012\folder_to_be_mapped and enter and authenticate.
I did this ... NET USE X: \\ip_address_of_server_2012\folder_to_be_mapped and save it as MapServer.bat
I clicked on the bat file and it didn't work. How can I authenticate inside the bat file?
John
Open cmd.exe and then in the command window type: NET USE X: \\ip_address_of_server_2012\folder_to_be_mapped and enter.
RE: Open cmd.exe and then in the command window type: NET USE X: \\ip_address_of_server_2012\folder_to_be_mapped and enter.
The syntax of the command is incorrect. See http://prntscr.com/eszdya
John
You have to change my "names" to IP addresses. You cannot type in a placeholder and expect it to work.
I am beginning to thing you do not have a good understand of sharing folders. So why be bothered with an ancient system to test on.
I am able to MANUALLY connect to the Shared Folder on Window Server 2012, but I have to enter the user login and password.
If a bat file with the correct syntax AUTOMATICALLY loads when Windows Server 2000 is started / rebooted, that would eliminate this manual login process.
I tried using the syntax of your command using computer name and or IP address, but I am still getting syntax errors.
RE: NET USE X: \\Server\C$ /user:DOMAIN\username password
If you check the output of: net use /? you should note that the password goes before the username part:
NET USE X: \\Server\C$ password /user:DOMAIN\username
John
! am able to MANUALLY connect to the Shared Folder on Window Server 2012 <-- Progress!
NET USE X: \\server\folder /user:domain\username password.
Server is your server name.
Folder is the folder you want to map
domain is the Domain of your server 2012 and may be optional
user is the username
password is the password.
Make your batch file from the command that worked and add the username and password to it.
Open a command window and run the batch file in the command window to see what it does.
I haven't tried putting it after, though I could imagine that it works.
The "horse's mouth" specifies the password as being before the /USER.... part.
benc007
ASKER
The servers don't have a domain name. I am getting the same syntax error using:
NET USE X: \\Server-g98efxesgsw\TestSharedFolder PASSWORD /USER:adminuser213@189.132.115.33
CompProbSolv
If "adminuser213" is a user on "Server-g98efxegsw" then try:
NET USE X: \\Server-g98efxesgsw\TestSharedFolder PASSWORD /USER:adminuser213@Server-g98efxesgsw
It may be the way Server 2000 does its user / password syntax doesn't match Server 2012
However you are able log on and map a drive which was your question here originally.
benc007
ASKER
John Hurst - The shared folder needs to be automatically accessible when Windows 2000 restarts. What is the syntax for Server 2000?
CompProbSolv - RE: If "adminuser213" is a user on "Server-g98efxegsw" then try:
NET USE X: \\Server-g98efxesgsw\TestSharedFolder PASSWORD /USER:adminuser213@Server-g98efxesgsw
I am still getting a syntax error.
John
On Server 2000, open a Command Prompt and type NET USE /? and enter to get help.
My point was the way Server 2000 passes the parameters may nut be recognized by Server 2012.
"The servers don't have a domain name."
To be clear about this, are you saying that Active Directory is not set up or, if it is, you do not want to use this for this login?
Also, if you go to a CMD prompt and type:
NET USE X: \\Server-g98efxesgsw\TestSharedFolder
you should get a prompt for user name and password.
If you type: adminuser213@Server-g98efxesgsw
for the user name
and you type: PASSWORD
(actually, whatever the real password is)
for the password, does it properly map the drive?
benc007
ASKER
I don't think Active Directory is set up. How can I check in Windows Server 2000?
RE: Also, if you go to a CMD prompt and type: NET USE X: \\Server-g98efxesgsw\TestSharedFolder
you should get a prompt for user name and password.
and get help for your syntax and see if you made errors. I don't think so and so I think Server 2012 is simply not going to understand Server 2000 parameters
The syntax purports to be the same, but since it does not work in a batch, the preparation of parameters in Server 2000 does not work for Server 2012.
This means it is not going to work - ever. So you must log on manually.
CompProbSolv
I don't have a working Server 2000 system at the moment. I'm quite perplexed as to how you would get the response that you showed in the previous screen capture. It would be a bit clearer if we had the screenshot with the command AND the output.
The screenshot implied that you had something wrong with the syntax and not with the specifics. That is, if "Server-g98efxesgsw" were not a valid name, you should have gotten a response to that effect.
It's also important to note that this is not specifically a .BAT file problem. As I'm reading these (many!) posts, the problem exists at a CMD prompt without consideration of .BAT files. If you can't get it to work when typing it out on the CMD line, you'll not get it working in a .BAT file!
benc007
ASKER
CompProbSolv - Server-g98efxesgsw is a valid name and I used the command prompt. You're right it's not a .BAT file problem because it doesn't work when typing it out on the CMD line.
John Hurst - RE: The syntax purports to be the same, but since it does not work in a batch, the preparation of parameters in Server 2000 does not work for Server 2012. This means it is not going to work - ever. So you must log on manually.
Yes it works only if I log on manually ... which doesn't make sense unfortunately.
"Server-g98efxesgsw is a valid name and I used the command prompt. "
As mentioned, a screenshot with your command and the response may help here. Otherwise, I don't think you'll get anything else constructive here.
benc007
ASKER
Thank you John!
John
You are most welcome. Sorry that you must use manual login, but at least you can connect the devices.
Have you gone through the normal procedures to create a share on the 2012 server and given rights only to Administrator?