Reply
Valued Contributor
Twisted Networx
Posts: 58
0

Re: One2Many Script Repository

And does anyone have a script for Enabling/Disabling UAC on Vista/7? It would be great to have the option to disable it prior to a big job, then re-enable it when done. Or even just to run the re-enable command automatically each week for users who keep turning it off.

Frequent Contributor
Anon51436
Posts: 14
0

Re: One2Many Script Repository

 
Yeah your script looks good to me. download the full exe not the short version.
 
Your error will be to do with the machine your installing to I would think. 
 
Check your machine is 32 bit vs 64bit. you need to install the right install for this.
www.fildehippo.com give both versions.
 
- Check for AVAST or antivirus software this needs uninstalling.
- UAC needs to be turned off.
- OR the machine you are installing to has 2011 already. this will give you an error the same as yours.
Valued Contributor
Twisted Networx
Posts: 58
0

Re: One2Many Script Repository

You're right.  I downloaded the full installation and ran the x64 on 2 PCs with absolutely no problem. Thanks for the script!

Valued Contributor
Twisted Networx
Posts: 58
0

Re: One2Many Script Repository

Suggested Script or combination of scripts:

MSE and Malwarebytes?

Has anyone scripted these installations, and can more than 1 be scripted in the same plan or do they require individual plans?

New Contributor
Anon134224
Posts: 1
0

Re: One2Many Script Repository

Does anyone have a script for changing the passwords of accounts on servers with one2many.  The script will need to make the domain name a detectable variable and the usernames are all the same.  It would be nice if we could create accounts too.

Contributing Visitor
mattyb
Posts: 4

Re: One2Many Script Repository

Here is a small script I use to clear out the junk files (temp, internet etc) off all local profiles.

 

 

 

IF "%OS%"=="" GOTO WIN9X
@REM - FIND "DOCUMENTS AND SETTINGS" FOLDER:
%SYSTEMDRIVE%
CD %USERPROFILE%\..
FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\LOCAL SETTINGS\TEMP\*.*"
FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\LOCAL SETTINGS\TEMPORARY INTERNET FILES\*.*"
FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\COOKIES\*.*"
DEL /F/S/Q %WINDIR%\TEMP\*.*
DEL /F/S/Q %WINDIR%\*.TMP
GOTO END
:WIN9X
REM - WIN9X systems are currently not supported.
:END
Takes a while when first run, but daily it's fantastic.

 

New Contributor
brianperry
Posts: 1
0

Re: One2Many Script Repository

anyone know how to kill trend micro in a script, need to disable so i can install an msi package then enable

Contributor
scottay
Posts: 7
0

Re: One2Many Script Repository

I'd like to second the request for a MSE and Malwarebytes definition updates and scans... Is this possible?

 

Thanks!

Scott

Contributor
scottay
Posts: 7
0

Re: One2Many Script Repository

For anyone that needs it, I got MSE to work with a batch file with this:

 

"%ProgramFiles%\Microsoft Security Essentials\MpCmdRun.exe" -scan -1

 

However, the only thing to watch out for is the path of MpCmdRun.exe... One computer I have it on is as above, but another is ...\Microsoft Security Client\Antimalware\...  Double check before trying to run it or it will fail.

 

Scott

New Contributor
Mark_INGG
Posts: 1
0

Re: One2Many Script Repository

Does anyone have a script that would run on a remote client and pull logs back?