gokhanoz
asked on
Script
Hi. My aim is to copy the specific file to the specific users desktops from WIN2003 Standart Edition (operating as domain controller)to XP desktops.
Like this:
Suppose that I have client in my domain whose computer name is account1 and operators user name is op1.
The file path which client must get the file from the server is \\mainserver\c\%clients_us er_name%\a pplication 1.exe
%clients_user_name% is the point which I'm missing here.
I think the script must like that;
copy \\mainserver\c\%clients_us er_name%\a pplication 1.exe c:\application1.exe
and upon exit another script should delete the file from the clients computer.
I know that I have to add that script into the user configuration > windows settings > scripts > log_on
Thanks in advance
Like this:
Suppose that I have client in my domain whose computer name is account1 and operators user name is op1.
The file path which client must get the file from the server is \\mainserver\c\%clients_us
%clients_user_name% is the point which I'm missing here.
I think the script must like that;
copy \\mainserver\c\%clients_us
and upon exit another script should delete the file from the clients computer.
I know that I have to add that script into the user configuration > windows settings > scripts > log_on
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
The script should work if it's in the User Config login script section. Did you add it correctly? Putting a script in place is a little tricky in GP.
Basically (the way I do it, cause it always works):
1. go to the log on scripts section of the GPO and double click on logon
2. Click Show Files, then Drag/drop the batch file/script into that location from wherever it is at
3. Close that window, then Click ADD
4. Click Browse, then just double click that script you just put in the directory
That's it.
Basically (the way I do it, cause it always works):
1. go to the log on scripts section of the GPO and double click on logon
2. Click Show Files, then Drag/drop the batch file/script into that location from wherever it is at
3. Close that window, then Click ADD
4. Click Browse, then just double click that script you just put in the directory
That's it.
Thanks for the quick points! Happy to help.
ASKER