PC Review


Reply
Thread Tools Rate Thread

cleanmgr cleans all drives...

 
 
developmental2@walla.com
Guest
Posts: n/a
 
      18th Oct 2005


hi,

I tried to set an automated cleanmgr (through shceduler)
but it always insists on doing all drives, even though I specifically
tell it to:
cleanmgr /d c: /sageset:2 (also tried other numbers and caps on the
parameters, no spaces etc)

and then cleanmgr /sagerun:2

My other drives take a long time to clean and I don't want them
done...(the hanging windows confuse the users)
it also does the floppy which is ridiculous.


Thanks

 
Reply With Quote
 
 
 
 
billious
Guest
Posts: n/a
 
      18th Oct 2005

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>
> hi,
>
> I tried to set an automated cleanmgr (through shceduler)
> but it always insists on doing all drives, even though I specifically
> tell it to:
> cleanmgr /d c: /sageset:2 (also tried other numbers and caps on the
> parameters, no spaces etc)
>
> and then cleanmgr /sagerun:2
>
> My other drives take a long time to clean and I don't want them
> done...(the hanging windows confuse the users)
> it also does the floppy which is ridiculous.
>
>
> Thanks
>


Congratulations on finding the switches in the Microwaffle.

I've not tried it, but my interpretation of the word-torrent hidden in
Q315246 is this:

You can specify /dx (where x is the drive letter. Q315246 suggests that the
syntax should be "/d x:" Q255512 appears to suggest "/dx" [no space, no
colon])
You may specify /sageset:x which stores the drive(s?) specified in the "/d"
option(s?) in the registry. Whether you should use "/dc /dd" or "/dcd" with
or without spaces/colons is carefully avoided.

The documenter also appears to feel that "\sageset" is an option to cleanmgr
(Q315246) and helpfully states "The options for the files that you can
specify for Disk Cleanup by using /sageset and /sagerun include: "(here
follows a list in Q315246) without actually bothering to expose HOW these
options can be specified.

I'd guess that running with the parameters "/dc /sageset:2" SHOULD create a
registry entry (perhaps with CLEANMGR as part of the key) BUT that it'd be
created under the CURRENT USER. Similarly, the "/sagerun:2" should extract
the parameters from the registry - again under the current user.

So it's possible that you're storing the parameters under LOGONUSERNAME and
the scheduler is then not finding the parameters you set because it's logged
in as SCHEDULEUSERNAME - hence it decides to do all drives...

No doubt you want to specify different profiles for different machines,
otherwise "cleanmgr /dx" would seem to be the appropriate choice and you
wouldn't need to use the sageset/sagerun facility.

I'd suggest as a starting point you look into the registry to see whether
cleanmgr is actually creating entries.

HTH

....Bill


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USA Cleans House and the Senate! Dems take over both. Chad Harris Windows Vista General Discussion 30 9th Nov 2006 10:36 AM
Sysprep cleans Hardware Enum? RepublicOfTaiwan Windows XP Setup 1 13th Jul 2005 11:39 PM
Never Cleans It! CjCeer Spyware Discussion 8 19th May 2005 05:37 PM
Address Bar Cleans Out Mr Muckle Windows XP Internet Explorer 3 1st Nov 2003 10:29 AM
Stylus 740 always cleans heads before printing. Jimmy Joe Printers 4 30th Jun 2003 02:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:24 PM.