Windows Thread, delprof again.... in Technical; Had a look but can't find the awnser on here, just been clearing some profiles from 1 or 2 machines ...
-
19th November 2009, 11:30 AM #1 delprof again....
Had a look but can't find the awnser on here, just been clearing some profiles from 1 or 2 machines using the usual in the command prompt delprof /p /d:60 the problem being that on one machine I only get the error 'delprof is not an recognized internal or external command, operable program or batch file, yes delprof is installed, I've reinstalled delprof but makes no diffrence still the same error
, no joy if I try to do it remote from another machine. Please Help
-
-
IDG Tech News
-
19th November 2009, 11:40 AM #2 Hi
Have you not tried running delprof remotely.
Put delprof on your machine and then create a del.bat and put the following in the bat file.
delprof /q /i /c:\\machinename
Richard
-
Thanks to ricki from:
ozzy (19th November 2009)
-
19th November 2009, 11:44 AM #3 
Originally Posted by
ozzy
'delprof is not an recognized internal or external command, operable program or batch file'
This would suggest to me that the command in not in the %path%.
-
Thanks to TheLibrarian from:
ozzy (19th November 2009)
-
19th November 2009, 01:11 PM #4 
Originally Posted by
TheLibrarian
This would suggest to me that the command in not in the %path%.
You were right you know, I'm such a idiot DOH
-
-
19th November 2009, 01:13 PM #5 Glad to be able to help. I tend to script a lot of things using command shell, so that is something I'm used to seeing when I typo a command.
-
-
17th November 2010, 10:11 PM #6
- Rep Power
- 0
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!
-
SHARE: 
Similar Threads
-
By gotstuckagain in forum Windows
Replies: 9
Last Post: 11th February 2011, 04:21 PM
-
By Garyd53 in forum Windows Server 2000/2003
Replies: 20
Last Post: 31st May 2009, 10:09 AM
-
By choran in forum Windows
Replies: 1
Last Post: 19th November 2007, 12:55 PM
-
By spacemanvic in forum Windows
Replies: 7
Last Post: 14th December 2006, 10:58 PM
-
By _Bat_ in forum Windows
Replies: 6
Last Post: 8th September 2006, 05:29 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules