put a folder on all domain computers

M

M K W

Hello,

I am the network admin here in my company, my network is based on Win 2000
server with active directory and the users are Win 2000 SP-4. My problem is
that I want to put a folder that contains some data on all the users'
computers, I just want to know if there is a way to put this folder on all
the computers that are joined to the domain on their C:\ drive.
any help would be highly appreciated
thank you
 
B

Bruce Chambers

M said:
Hello,

I am the network admin here in my company, my network is based on Win 2000
server with active directory and the users are Win 2000 SP-4. My problem is
that I want to put a folder that contains some data on all the users'
computers, I just want to know if there is a way to put this folder on all
the computers that are joined to the domain on their C:\ drive.
any help would be highly appreciated
thank you


Just edit the users' login scripts to add a line copying the folder.

--

Bruce Chambers

Help us help you:



You can have peace. Or you can have freedom. Don't ever count on having
both at once. - RAH
 
J

Jerold Schulman

Hello,

I am the network admin here in my company, my network is based on Win 2000
server with active directory and the users are Win 2000 SP-4. My problem is
that I want to put a folder that contains some data on all the users'
computers, I just want to know if there is a way to put this folder on all
the computers that are joined to the domain on their C:\ drive.
any help would be highly appreciated
thank you
If you can't use Bruce's suggestion:

If you mean to place a shortcut to a server folder on each of their desktops.
create the shortcut on your computer's desktop. Then run the following batch:

@echo off
setlocal
for /f "Tokens=*" %%s in ('net view^|FIND "\\"') do (
if /i "%%s" NEQ "\\%ComputerName%" copy "%userprofile%\Desktop\ShortcutName.lnk" "%%s\c$\Documents and Settings\All Users\Desktop\*.*"
)
endlocal

If you do want to litterly copy the folder:
@echo off
setlocal
for /f "Tokens=*" %%s in ('net view^|FIND "\\"') do (
xcopy "\\Server\Share\Folder" "%%s\c$\Documents and Settings\All Users\Desktop"
)
endlocal




Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 
J

Jerold Schulman

oops.

If you do want to litterly copy the folder:
@echo off
setlocal
for /f "Tokens=*" %%s in ('net view^|FIND "\\"') do (
MD "%%s\c$\Documents and Settings\All Users\Desktop\Folder"
xcopy "\\Server\Share\Folder" "%%s\c$\Documents and Settings\All Users\Desktop\Folder"
)
endlocal



If you can't use Bruce's suggestion:

If you mean to place a shortcut to a server folder on each of their desktops.
create the shortcut on your computer's desktop. Then run the following batch:

@echo off
setlocal
for /f "Tokens=*" %%s in ('net view^|FIND "\\"') do (
if /i "%%s" NEQ "\\%ComputerName%" copy "%userprofile%\Desktop\ShortcutName.lnk" "%%s\c$\Documents and Settings\All Users\Desktop\*.*"
)
endlocal

If you do want to litterly copy the folder:
@echo off
setlocal
for /f "Tokens=*" %%s in ('net view^|FIND "\\"') do (
xcopy "\\Server\Share\Folder" "%%s\c$\Documents and Settings\All Users\Desktop"
)
endlocal




Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 

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