Format and Reload Forums

Home Who's Online vBookie Arcade Mark Forums Read
Go Back   Format and Reload Forums > Operating Systems/Software > Windows 95/98/98SE/ME/NT/2000/XP

Windows 95/98/98SE/ME/NT/2000/XP Your old windows broke??? Needs fixin??? You're at the right place

Reply                  Post New Thread
 
Thread Tools Search this Thread Display Modes
Old November 9th, 2009, 06:23 PM   #11
FatalException0E
Bored
 
FatalException0E's Avatar
 
Join Date: Jan 2005
Location: Cibolo, TX (San Antonio area)
Posts: 4,459
FarBux: 72,521,099,871.45
Default

Quote:
Originally Posted by CeeBee View Post
Why not just run it for
%HOMEPATH%\Local Settings\Temp and
%HOMEPATH%\Local Settings\Temporary Internet Files
as a startup script???

Or even easier - set a group policy to delete those files
Because I'm not a domain admin, and the way I wrote it it will hit every user as long as you're logged in as a local admin.
__________________
Nulla Tenaci Invia Est Via

My wife is crafty...jewelry-wise, that is.
FatalException0E is offline   Reply With Quote
Old November 9th, 2009, 11:24 PM   #12
craigmodius
Has posted alot
Has posted quite alot
 
craigmodius's Avatar
 
Join Date: Jan 2005
Location: meth valley, pa
Posts: 5,707
FarBux: 226,638.11
Default

if you're running it as the user, the variables %homepath% or %userprofile% shouldn't require the user to be a local admin

because the user has rights to their own profile
__________________
Are you taking this all in? I wonder if you can?
And is that statement true, "I think, therefore I am"?
Or, as George Orwell said, "Ignorance is Bliss".
If that's the case, there's alotta happy people out there who don't exist. ~Jeff Guinness
craigmodius is offline   Reply With Quote
Old November 10th, 2009, 01:47 PM   #13
FatalException0E
Bored
 
FatalException0E's Avatar
 
Join Date: Jan 2005
Location: Cibolo, TX (San Antonio area)
Posts: 4,459
FarBux: 72,521,099,871.45
Default

Quote:
Originally Posted by craigmodius View Post
if you're running it as the user, the variables %homepath% or %userprofile% shouldn't require the user to be a local admin

because the user has rights to their own profile
ALL users in one shot is what I was going for.
__________________
Nulla Tenaci Invia Est Via

My wife is crafty...jewelry-wise, that is.
FatalException0E is offline   Reply With Quote
Old November 10th, 2009, 03:48 PM   #14
craigmodius
Has posted alot
Has posted quite alot
 
craigmodius's Avatar
 
Join Date: Jan 2005
Location: meth valley, pa
Posts: 5,707
FarBux: 226,638.11
Default

what I've used in the past to run this commands against all users in one shot is psexec part of pstools

that way you can say "psexec \\* RMDIR /S /Q %userprofile%\Local Settings\Temp" and/or stick it in a batch file

but it may be different if you don't specify the remote user
__________________
Are you taking this all in? I wonder if you can?
And is that statement true, "I think, therefore I am"?
Or, as George Orwell said, "Ignorance is Bliss".
If that's the case, there's alotta happy people out there who don't exist. ~Jeff Guinness
craigmodius is offline   Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT. The time now is 01:53 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
All rights reserved 2004-2007