Käynnissä

Modify / Create VB Disk Cleanup Script

This is the second time I have posted this. Please don't bid unless you can actually complete the project.

We hired a freelancer some time ago to create a script that would automatically cleanup and Windows PC and run a defrag. This all needs to happen once a month after-hours. The script we have runs fine, but it only works for one user. It does not cleanup files (temp internet, etc.) for all users. The existing script is a .vbs and runs the built-in [url removed, login to view] and [url removed, login to view] on Windows. I need someone to go through this script and make it work for all users. This may mean that we need to dump using the [url removed, login to view] and go with something else. Anyway, if you can help us then please post a reply.

Here is a sample of the script -

Set objShell = Nothing

Set dctXcludedCleanups = Nothing

'Refer to section - "ADDING A TASK PROFILE "PROGRAMMATICALLY""

Private Sub AddTaskProfile()

On Error Resume Next

Dim objReg

Dim aSubKeys()

Dim sComputer, sSubkey, lTaskState

sComputer = "."

Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _

sComputer & "\root\default:StdRegProv")

[url removed, login to view] HKEY_LOCAL_MACHINE, VOLUME_CACHES_KEY, aSubKeys

For Each sSubkey in aSubKeys

' [url removed, login to view] vbTab & vbTab & "Case """ & sSubkey & """"

' [url removed, login to view] vbTab & vbTab & vbTab & "EnsureStateFlagEntries objReg, sSubkey, 0, lTaskState"

' [url removed, login to view]

If ([url removed, login to view](sSubkey)) Then

lTaskState = 0

Else

lTaskState = 2

End If

Select Case sSubkey

Case "Active Setup Temp Folders"

EnsureStateFlagEntries objReg, sSubkey, 0, lTaskState

Case "Compress old files" 'May skip as it might take long time and might hang script

EnsureStateFlagEntries objReg, sSubkey, 1, lTaskState

Case "Content Indexer Cleaner"

EnsureStateFlagEntries objReg, sSubkey, 1, lTaskState

Case "Downloaded Program Files"

EnsureStateFlagEntries objReg, sSubkey, 1, lTaskState

Taidot: Järjestelmänvalvoja, Visual Basic, Windows Desktop

Näytä lisää: disk cleanup script, script disk cleanup, disk cleanup, disk cleaner, disk cleanup script windows, disk cleanup vbs, vbs script disk cleanup, script cleanup vbs, profile cleanup script, vbs disk cleanup, vbs cleanup script, profile cleanup, disk cleanup programmatically, modify disk cleanup, programmatically cleanup disk, profile cleanup vbs, script windows disk cleanup, windows disk cleanup script, cleanup script, vista disk cleanup script, cleanmgr programmatically, vbs cleanup, disk cleaner using, windows cleanup script, vb work

About the Employer:
( 10 reviews ) Fresno, United States

Projektin tunnus: #417862

Myönnetty käyttäjälle:

sumeet00

Hi, Check PM. Thanks, Sumeet.

100 $ USD 5 päivässä
(2 arvostelua)
2.5

13 freelanceria on tarjonnut keskimäärin 98 $ tähän työhön

rajtuhin1

Best Software engineer with best price. Lets discuss in pmb few details. Thanks and Regards : TUHIN

100 $ USD 2 päivässä
(68 arvostelua)
6.3
itkamaraj

Hi, I have the working script to clear all user profiles (temp files). I have good knowledge in VB script. please check your PMB for the script In your case, this needs to be modified and attached with your Lisää

50 $ USD 7 päivässä
(8 arvostelua)
2.6
J711

Hi, i can make this script on C++.

45 $ USD 3 päivässä
(1 arvostelu)
2.5
np101

I have 8 yrs IT Experience with VBA, Visual Basic, VB script, Java Script, ASP, ASP.Net,C#,VB.Net. I can do it.

201 $ USD 2 päivässä
(0 arvostelua)
0.0
sgnkar

Hi, I am ready to do your application Thanks

110 $ USD 3 päivässä
(1 arvostelu)
0.0
imantha

HI, I can do this using C++ and [url removed, login to view] you will get [url removed, login to view] which will start itself in given time and do the cleaning and defragment. I have 8+ years experience. regards. Buddhika

200 $ USD 5 päivässä
(0 arvostelua)
0.0
dingxl05

please see my message in PM

30 $ USD 7 päivässä
(0 arvostelua)
0.0
sujeetsaraf

i will love to try this one and could do better than your expectations....

200 $ USD 60 päivässä
(0 arvostelua)
0.0
musthag

Can do it in own style using vb.

50 $ USD 2 päivässä
(0 arvostelua)
0.0
admmandy

I am using such scripts to manage over 250 servers and 500 computers remotely and it works like grace.

50 $ USD 1 päivässä
(0 arvostelua)
0.0
jayraj555

Hi Sir/Madam, I posses more then 7 years experience in Windows Servers, specially windows hosting server. Following is some brief information about technology and work I am doing : -> Windows 2000/2003/2008 OS Co Lisää

90 $ USD 5 päivässä
(0 arvostelua)
0.0
yumileroy

Hi, I should be able to do this in VB or VB.NET or C++ if absolutely necessary.

45 $ USD 2 päivässä
(0 arvostelua)
0.0