Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Running Disc Cleanup from cmd


  • Please log in to reply
4 replies to this topic

#1 Sobia6464

Sobia6464

  • Members
  • 3 posts
  • OFFLINE
  •  
  • Local time:03:43 AM

Posted 31 March 2015 - 09:54 AM

I am fully aware there is a way to run disc clean up from cmd line in windows 7.  My question is, is there a way to do it without the end-user knowing?  The goal is to run it and clean up files while the client continues to work without having to interrupt them.  We can run a cmd line without the client seeing, so ideally we could get disc clean up to run entirely in cmd line.  Is there any way of accomplishing this?



BC AdBot (Login to Remove)

 


#2 RolandJS

RolandJS

  • Members
  • 4,512 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Austin TX metro area
  • Local time:02:43 AM

Posted 31 March 2015 - 10:20 AM

http://www.thewindowsclub.com/automate-disk-cleanup-utility-windows

I tried this, although not invisible, no input from enduser is needed.

[You may have to upfront explain what/why cleanmgr runs to enduser.]


Edited by RolandJS, 31 March 2015 - 10:27 AM.

"Take care of thy backups and thy restores shall take care of thee."  -- Ben Franklin revisited.

http://collegecafe.fr.yuku.com/forums/45/Computer-Technologies/

Backup, backup, backup! -- Lady Fitzgerald (w7forums)

Clone or Image often! Backup... -- RockE (WSL)


#3 Sobia6464

Sobia6464
  • Topic Starter

  • Members
  • 3 posts
  • OFFLINE
  •  
  • Local time:03:43 AM

Posted 31 March 2015 - 10:23 AM

Well we originally attempted it this way - but the issue comes with the end user thinking their PC is possessed.  They usually close the window out or hit cancel and we're never able to do simple tasks like this invisibly.  We will continue using that method unless we can find one that's pretty much a silent run.  I appreciate the reply  :thumbup2:



#4 coxchris

coxchris

  • Members
  • 1,151 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Atwater
  • Local time:12:43 AM

Posted 31 March 2015 - 10:39 AM

How about CCleaner you can set it to auto and its silent as a ghost


AA in Computer Networking Technology

BS in Information Technology 

Comptia A+, Project+, L+

Renewable:  N+,S+

CIW Web Design Specialist, JavaScript Specialist,  Database Design Specialist 

LPIC-1, SUSE 


#5 coxchris

coxchris

  • Members
  • 1,151 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Atwater
  • Local time:12:43 AM

Posted 31 March 2015 - 10:47 AM

Another way to set it up at a time when you have a small user base. 

 

Or run a  disk cleanup script  transfer it a batch file and have that run in Group Policy First Login and shutdown 


AA in Computer Networking Technology

BS in Information Technology 

Comptia A+, Project+, L+

Renewable:  N+,S+

CIW Web Design Specialist, JavaScript Specialist,  Database Design Specialist 

LPIC-1, SUSE 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users