Jump to content

Delprof - The parameter is incorrect.


Recommended Posts

Posted

Hi,

 

I'm using Delprof and getting "The parameter is incorrect". I'm using the remote command and it manages to connect to the machine & finds all the profiles because it lists off each profile and adds "The parameter is incorrect" to the end of it.

 

chdir c:\Program Files\Windows Resource Kits\Tools

delprof /i /q /c:\\3i07-01

delprof /i /q /c:\\3i07-02

delprof /i /q /c:\\3i07-03

delprof /i /q /c:\\3i07-04

delprof /i /q /c:\\3i07-05

delprof /i /q /c:\\3i07-06

delprof /i /q /c:\\3i07-07

delprof /i /q /c:\\3i07-08

delprof /i /q /c:\\3i07-09

delprof /i /q /c:\\3i07-10

delprof /i /q /c:\\3i07-11

delprof /i /q /c:\\3i07-12

delprof /i /q /c:\\3i07-13

delprof /i /q /c:\\3i07-14

delprof /i /q /c:\\3i07-15

delprof /i /q /c:\\3i07-16

delprof /i /q /c:\\3i07-17

delprof /i /q /c:\\3i07-18

delprof /i /q /c:\\3i07-19

 

Any help would be appreciated!

 

Cheers

Posted

just tried your commands on my network and it works fine. have you got microsoft's user profile hive cleanup service installed? might be worth a shot!? otherwise, you could use the group policy to "Delete cached copies of roaming profiles".

 

is it 2003 / XP you're running?

  • Thanks 1
Posted

Is that the command you are using up there? If so try this

 

chdir "c:\Program Files\Windows Resource Kits\Tools"
delprof /i /q /c:\\3i07-01
delprof /i /q /c:\\3i07-02
delprof /i /q /c:\\3i07-03
delprof /i /q /c:\\3i07-04
delprof /i /q /c:\\3i07-05
delprof /i /q /c:\\3i07-06
delprof /i /q /c:\\3i07-07
delprof /i /q /c:\\3i07-08
delprof /i /q /c:\\3i07-09
delprof /i /q /c:\\3i07-10
delprof /i /q /c:\\3i07-11
delprof /i /q /c:\\3i07-12
delprof /i /q /c:\\3i07-13
delprof /i /q /c:\\3i07-14
delprof /i /q /c:\\3i07-15
delprof /i /q /c:\\3i07-16
delprof /i /q /c:\\3i07-17
delprof /i /q /c:\\3i07-18
delprof /i /q /c:\\3i07-19

  • Thanks 1
Posted

chdir "c:\Program Files\Windows Resource Kits\Tools[b]\[/b]"
delprof /i /q /c:\\3i07-01
delprof /i /q /c:\\3i07-02
delprof /i /q /c:\\3i07-03
delprof /i /q /c:\\3i07-04
delprof /i /q /c:\\3i07-05
delprof /i /q /c:\\3i07-06
delprof /i /q /c:\\3i07-07
delprof /i /q /c:\\3i07-08
delprof /i /q /c:\\3i07-09
delprof /i /q /c:\\3i07-10
delprof /i /q /c:\\3i07-11
delprof /i /q /c:\\3i07-12
delprof /i /q /c:\\3i07-13
delprof /i /q /c:\\3i07-14
delprof /i /q /c:\\3i07-15
delprof /i /q /c:\\3i07-16
delprof /i /q /c:\\3i07-17
delprof /i /q /c:\\3i07-18
delprof /i /q /c:\\3i07-19

 

I put an extra back slash at the end of the path - not sure if this will make any difference when trying to execute delprof so that it knows that delprof is inside of the Tools folder and is not apart of the path ??

 

long shot anyway

 

I would try and run one of those commands manually and see if you still get the same error

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...