
Please consult the psexec help file for more information on this. You can also use to execute on multiple computers. \\pcname: The name of the computer that you want to import this reg file to. Psexec: Allows you to execute everything that follows on the remote system. Now an explanation of what this line does. Inside of this main folder are subfolders named for the scripts they contain. Also, I have a folder on my computer that contains all of my scripts. Sure it's a long name, but I know exactly what it does without editing the file. I named mine "Import_DMW_SM_Service.bat". Save this to your computer and give it a name that makes sense to you. Psexec \\pcname -u domain\user -p password regedit -c -f \\server\path-to-reg-file\Whatever.reg Open up your favorite text editor and add the following line:
