so I am trying to learn how to script, particularly a delprof script that will run on multiple computers in a classroom at logoff however since I have heard that the profile is still locked during logoff, maybe at shutdown. I know nothing about the code to generate a script or write a batch file.
Is it possible that someone might be able to teach me a little something that would help me to accomplish this task. I just got a new job and my boss wants just the script needed to run delprof on the student machines automatically.
so far what I think I need is as follows:
chdir "pathname"
delprof /i /q /c:\\computer name
delprof /i /q /c:\\computer name
delprof /i /q /c:\\computer name
delprof /i /q /c:\\computer name
delprof /i /q /c:\\computer name ------>I am under the impression that I continue to add lines for each separate computer name
I believe this is code for a batch file, but I don't even know where to create a batch file and if this is all the code that is required.
Sorry that I am so uneducated about this. Thank you in advance for any help!