tri_94 Posted October 14, 2011 Posted October 14, 2011 Hi there i have a bmp file placed in my c:\rm-cc4.bmp and a i would like to place it on lots of machines. location it needs to go is \\COMPUTERNAME\c$\Program Files\Research Machines\Network Management\Desktop\ i've tried a batch file however this appears to be no way of entering a username and password. so that fails. and i've tried " Set FSO =CreateObject("scripting.FileSystemObject") FSO.CopyFile "c:\RM-CC4.bmp","\\COMPUTERNAME\c$\Program Files\Research Machines\Network Management\Desktop\",True" But really have no clue when it comes to scripts. anyone help please? thanks nick
sted Posted October 14, 2011 Posted October 14, 2011 if your on a domain why not just run a startup script that just copies from share to local c drive?
tri_94 Posted October 14, 2011 Author Posted October 14, 2011 Hey Sted, Yes they are on a domain and do you mean a logon script or batch file or what, and what does it need to say or have in? and how do i do that? thanks nick
Steve21 Posted October 14, 2011 Posted October 14, 2011 i've tried a batch file however this appears to be no way of entering a username and password. so that fails If you have access, and are running cmd as admin you shouldn't need to enter a username/pass. Does the file copy work if you just run cmd as admin, and type it in? Rather than .BAT? Steve
Uraken Posted October 14, 2011 Posted October 14, 2011 @echo off echo y|xcopy \\servername\netlogon\rm-cc4.bmp c:\ save in a .bat file called login.bat and use as the login script in Active directory. Any help?
sted Posted October 14, 2011 Posted October 14, 2011 i just add a script to an appropriate software deploy gpo as a startup script something like copy "\\server\NETLOGON\files\2simple\2mt.ini" "C:\Program Files\2Simple Software\2Simple collection\Music Toolkit\" /y
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now