Code Monkey home page Code Monkey logo

blackviperscript's People

Contributors

guppyfaced avatar lukemurraynz avatar madbomb122 avatar mobile46 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blackviperscript's Issues

Save Current button does not perform a save

Question
Did you look at ReadMe,FAQ or issues to see if issue is already posted or fixed?
Yes

Describe the bug
The Save Current button under the Services List tab does not actually produce a file.

To Reproduce
Steps to reproduce the behavior:

  1. Under the Services Options tab, select the Safe option from the Service Configurations drop-down list
  2. Under the Services List tab, click the Load Services button, then click the Save Current button
  3. Specify file name and its location under the Save As dialog box and hit the Save button
  4. Specified file is not generated

Expected behavior
Current Service Configuration is saved to the specified file

Desktop (please complete the following information):

  • OS Version: April 2018 Update
  • OS Build: Pro
  • Modded OS: No

Additional context

  • Script Version: 5.3.0
  • Release Type: Stable

Comments/Suggestions on New GUI look in 'BlackViper-Win10.ps1'

Which setting of options do you prefer? (Menu or Tab)

Also Please leave any Comments/Suggestions on what you would like to see or change

Thanks

PS the options in the menu can only be clicked 1 at a time (window closes after a click, this cannot be changed)

Comment on GUI (Testing/BlackViper-Gui.ps1)

Any comments on the GUI would be greatly appreciated.. Or if I should even add the GUI to the actual script

ATM the GUI is just for show (Till I decide to add the GUI or not)

There are working buttons and they do what they say other than the "Run Script" button (IT WILL NOT RUN THE SCRIPT)

Small Bug

Hi,

There is a small bug in line 659, it is missing an end parentheses at the end.

Thank you!

Please add an option to bypass desktop/laptop check

Is your feature request related to a problem? Please describe.
Yes and I am frustrated when i want to experiment with the tweaked services but it detects my pc as laptop and blocks me from selecting the tweaked option.

Describe the solution you'd like
I want an option to bypass this check.

Describe alternatives you've considered
I considered deleting the script and attempting to edit the code myself to add this feature in.

Additional context
Not Applicable

dev log button has faulty logic, disables other checkboxes

Question
nope.

Describe the bug
when the checkbox for dev log is ticked, it automatically sets a variety of other checkbox options enabled. when dev log is unticked again, those checkboxes remain ticked and become grayed out / disabled and thus cannot be edited again.

To Reproduce
Steps to reproduce the behavior:

  1. tick checkbox dev log in tab scipt options
  2. untick checkbox
  3. check behaviour of other checkboxes

Expected behavior
checkboxes that become ticked along with ticking dev log checkbox should become unticked and available again, after dev log checkbox has been unticked again.

Screenshots
bug1
bug2

Additional context

  • Script Version: 5.3.0
  • Release Type: 4.2

Found possibly two spelling errors..

I saw this one in the CSV file, was it "Generated" or as is?
GernetatedByMadBomb122

Then while looking for info on changing an entry in the CSV I found this in the topic I was looking for:
(# is fime)

probable a # sign is 'fine' and works as a comment... :-)

cheers, thanks for your work and efforts...
Bubbi

Cannot find files

I had to change the line 149 so the script can find the files. It was :
$Script:filebase = $PSScriptRoot + ''

I did change it for :
$Script:filebase = $PSScriptRoot + '.'

New Interface with easy Grid - I like...

Thanks for the excellent update, the new grid is very helpful and easy to set the options we want.

Well Done!

I'm an old school VFP developer and we have an option we can set:
_TOOLTIPTIMEOUT = 0 && Until Mouse is Moved

This option allows the tool tip text to stay out until the mouse is moved off the control. That would be a very helpful option when reading some of the longer grid item / option explanations.

Cheers to a excellent program.

thanks very much.

bubbi

update displays new script file but cant find any

Describe the bug
when checked for updates via services & script, it is displayed that there is an update for the script file, but none can be found.

To Reproduce
Steps to reproduce the behavior:

  1. check for updates with services & script
  2. click on yes for update script file (5.2.2 to 5.2.3)
  3. app returns there is no service update found

Expected behavior
app should update services and script.

Screenshots
bvscript6

Desktop (please complete the following information):

  • OS Version: [e.g. Creator's Update]
  • OS Build: [e.g. Home]
  • Modded OS: [e.g. No] -If you are using an OS that has removed items using a program like Nlite

Additional context

  • Script Version: 5.2.2 (aug 28 2018) stable
  • service version: 4.0 (may 29 2018)

not relaunching after update

Question
a little bit.

Describe the bug
tool doesnt relaunch after update.

Displaying GUI Now

To exit you can close the GUI or PowerShell Window.
|----------------------------------------------------|
|                                                    |
|                   Update Found!                    |
|                                                    |
| Downloading version 5.3.1.                         |
| Will run BlackViper-Win10.ps1                      |
| after download is complete.                        |
|                                                    |
|----------------------------------------------------|
PS C:\Users\intel\Desktop\BlackViperScript-master>

To Reproduce
Steps to reproduce the behavior:

  1. update from previous to latest version

Expected behavior
tool should relaunch after in-app update.

Additional context

  • Script Version: 5.3.0 to 5.3.1 / 4.2
  • Release Type: stable

Windows 10 services

Hi! Are you going to release a service tweak for the upcoming Windows April 2019 update? Thank you!

not updating old version

Describe the bug
console says it would relaunch the tool after update, but nothing happens.

To Reproduce
Steps to reproduce the behavior:

  1. update to latest version from previous version (not working)
  2. check console
  3. check if tool relaunches after update / updated from inside app

Expected behavior
app should relaunch after update.

Screenshots
If applicable, add screenshots to help explain your problem.
bug

Desktop (please complete the following information):

  • OS Version: [e.g. Creator's Update]
  • OS Build: [e.g. Home]
  • Modded OS: [e.g. No] -If you are using an OS that has removed items using a program like Nlite

Additional context

  • Script Version:

  • Release Type: [e.g. Stable or Testing]

Hello! I used your script (for better ping on server) but it did it opiste way! from 20ms ping to 50ms! Is theres any way to undo this script or stop it?

Question
Did you look at ReadMe, FAQ or Issues to see if issue is already Known or Fixed?

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Computer Information (Please complete the following information):

  • OS Version: [e.g. Creator's Update]
  • OS Build: [e.g. Home]
  • Modded OS: [e.g. No] -If you are using an OS that has removed items using a program like Nlite

Additional context

  • Script Version: [e.g. 3.0.1]
  • Release Type: [e.g. Stable or Testing]
  • Run method: [e.g. ps1 or bat file]

If it is an issue with updates

  • Do you have the update.bat File? : [e.g. Yes]
  • If above is Yes, What version is it? : [e.g. 1.3.4]

Ability to change State of Service -Opinion

I would like people's opinion on if I should add the ability on the 'Service Table' tab to select if you want a service to be running or stopped.

If above is wanted, I may also add in the backup/save file the state in there to be loaded.. If it isnt annoying to implement.

Edit:
For anyone that wants to test out this new feature/Option Save This

failed update / check for internet connection launches app twice

Describe the bug
dont know where its coming from, but this happend also yesterday with the other bug when checking for updates.

when i clicked on run script today (check for updates enabled on run), there was something in the console, guess it was the status message for checking and downloading updates.

after that the console was cleared and the app launched a second time / restarted without closing the old instance first.

the old instance window is locked and cant be moved or closed, too.

when the script is ran from the new instance, there is no output in the console window, only inside the app under tab service changes.

To Reproduce
Steps to reproduce the behavior:

  1. click on run script and have check for updates on run enabled
  2. observe console window / app behaviour for restarting / not closing the old instance first.

Expected behavior
old instance should be closed on / after update.

Screenshots
bvscript7

Desktop (please complete the following information):

  • OS Version: [e.g. Creator's Update]
  • OS Build: [e.g. Home]
  • Modded OS: [e.g. No] -If you are using an OS that has removed items using a program like Nlite

Additional context

  • Script Version: 5.2.3 (sep 01 2018) to 5.2.4
  • Release Type: 4.0 (may 29 2018)

kill, modify, restore processes with list

Is your feature request related to a problem? Please describe.
would it be possible that the tool gets a function to not only kill, load and save (windows) services to and from a customizable list, but to also do that with a list of all running processes i can see in the task manager.

thing is, every time my pc boots up, i want to kill or launch a few other windows services as well as other processes by 3. party tools, like steam, battle.net, origin, driverbooster, useless wlan utilities from the driver, etc. etc. which i have to do manually via task manager.

Describe the solution you'd like
after i killed all unwanted windows and other processes manually by task manager and / or blackviperscript, i want to save and eventually reload that state manually or automatically on or after the next reboot via a "process profile".

Describe alternatives you've considered
some type of process manager. not sure if any exists that can do this.

Additional context
Add any other context or screenshots about the feature request here.

All or nothing either way... :-)

Hi, I'm having some issues. If I run the current 'stable' version it runs ok but produces no results. IE: it says the changes have been made, say to the xbox entries from manual -> disabled. But they don't change. If I run the test version I get the error below. Any tips would be appreciated. Thanks. bub.

Changing Service Please wait...
Service_Name - Current -> Change_To

Xbox Live Game Save (XblGameSave) - Manual -> Disabled
-Service : The term '-Service' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\T\bv2\BvTest.ps1:836 char:68

  • ... If($ServiceTypeNum -In 1..4 -and $Dry_Run -ne 1) { -Service $Servic ...
  •                                                      ~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (-Service:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

Xbox Live Networking Service (XboxNetApiSvc) - Manual -> Disabled

Service Changed...

script runs dryrun first, only purges services on 2. run, wrong console display?

Describe the bug
not sure if this is intended, but there are a few things i have noticed, that were not there in the versions before.

  1. when clicked on run script, the script does a dryrun / list first even when there is no dry run option activated. only when run script is clicked another time after the first run, the script purges the services.

  2. after having purged services, the console window shows unclear categories "msg1":

>  Changing Service Please wait...
> msg1Tweaked
>  Service_Name - Current -> Change_To
> ----------------------------------------

and

> ----------------------------------------
>  Service Changed...
> msg13
> msg1161
> msg13
> msg10
> msg100:00:01.7787463

To Reproduce
Steps to reproduce the behavior:

  1. run script
  2. check console window / script behaviour

Expected behavior
the script should not dry run when its not activated. run script should cause immediate purge of services. msg1 should display correct values.

Screenshots
bvscript1
bvscript2
bvscript3
bvscript4
bvscript5

Desktop (please complete the following information):

  • OS Version: win 10 pro 64
  • OS Build: 17134.228

Additional context

  • Script Version: 5.2.1 (aug 26 2018)
  • service version: 4.0 (may 29 2018)
  • Release Type: stable

running the script on tweaked / safe "disables" wifi, ethernet adapter / capability

Question
Did you look at ReadMe, FAQ or Issues to see if issue is already Known or Fixed?

i dont always.

Describe the bug
when the script applies services configurations "tweaked" or "safe" with the option "all - change all services", the wifi adapter becomes kind of disabled after a reboot and cant be used anymore. it appears, that a certain, unknown service is causing this (no ip table allocation, driver / service not being loaded / blocked). the wifi becomes useable again, when the service configuration is reverted back with the "default" setting. it should be noted, that this may not happen necessarily on all hardware configurations or in all cases.

To Reproduce
Steps to reproduce the behavior:

  1. Go to github.com/madbomb122/BlackViperScript
  2. Click download
  3. extract zip
  4. execute _win10-blackviper.bat with admin rights
  5. select "all - change all services" and either "safe" or "tweaked" service configurations from tab "service options".
  6. reboot, check for wifi adapter functionality and connectivity

Expected behavior
wifi / ethernet should not be affected by this.

Screenshots
bug1
bug2

Computer Information (Please complete the following information):
DxDiag.txt

Additional context

  • Script Version: 5.4.2 (this was also present in previous versions)
  • Release Type: stable
  • Run method: via bat file from elevated powershell

regards

32 bit support

Noticed when starting it states quite clearly, intended for x64 only. Is there any plan to implement x32 support? Or should using x64 settings be ok to use?

No Saved Services List

I'm not sure I got this one right cause it seems obvious, but I'm running the newest version I just downloaded 5.3.7 and 4.2.

Service Options - All
Select my custom settings which were from 5/21/2018
Services List - check Customize Service
Made 1 change
Click - Save Selection
Get Save As screen pointing to my Black-master folder on my desktop
put in a file name
Press
Get "File Saved" dialog with the correct path and file name
expected to see a file there
there was no saved file.

bubbi

-lcsc option does not appear to work with -auto setting

Question
Yes

Describe the bug
-lcsc option does not appear to work with -auto setting. You need to specify '-safe' or -tweaked' to get -auto to work, which then override the csv file after -lcsc

To Reproduce
Steps to reproduce the behavior:
Run script with -lcsc and -auto

Expected behavior
Script should process options in csv file automatically without gui

some menu settings not being saved on exit / restart

Describe the bug
the following settings from the ui menus are not being saved on exit or are reset each time the tool is launched:

  • on tab "Services Options" -> "Black Viper Configuration Options (BV Services Only) -> the setting on the checkboxes "All" or "Min" is not being saved, setting on "Service Configurations" not being saved

  • on tab "Script Options", setting on checkboxes "Auto Service Update", "Show Console Window" not being saved

To Reproduce
Steps to reproduce the behavior:

  1. Set the Settings from the above description.
  2. Quit and Restart Tool
  3. Check wether settings have been saved in the ui

Expected behavior
Settings on the ui should be saved.

Screenshots
https://imgur.com/a/VWzYdVr

Desktop (please complete the following information):
windows 10 pro 64 bit

Additional context

  • Script Version: 5.1.1 (july 30 2018) stable
  • service version: 4.0 (may 29 2018)
  • Release Type: stable

Modifying Services List

I'm unable to modify the Services List.

On the options tab I select "ALL"
and "Tweaked" Services Configuration

Go to Services List tab
click Load Services
The services appear as expected

Next click "Customize Service"
Try to select an item in the grid
... Get endless Windows spinning wheel

Often the grid disappears
or the grid goes white, unresponsive, then maybe disappears...

Can't change any of the options (deselect or change the Setting

One must "Hard close" the program.

Also, when the grid goes off, Task Manager show Windows Power Shell using 10% of the CPU. Must be an endless loop somewhere in the code.

Perhaps it's me, if so, let me know where I've gone wrong.

Bub

PS: Thanks for the sticky tool tip texts they work well...

Running Windows 1803, script 5.0.1, Service 4.0

Just an error

I have all needed updates, (10pro/1703/15063.138/64bit) and all files from github, setting execution policy or running batch file from admin - no effects. PS show me just red Error. Can you help me?
powershell_2017-04-23_13-18-19

1803?

Does the index page note mean it isn't compatible?

1903 support

Currently the script quits on -auto -safe if Win10 1903 is the OS.
States that Max Recommended version is 1803, but that can't be right.

tool / script to manipulate protected tcp settings

Is your feature request related to a problem? Please describe.

this tool (https://www.speedguide.net/files/TCPOptimizer.exe) provides an easy way to change and manage windows' tcp settings related to ethernet adapters / wifi, etc. regrettably some of these settings are not being applied, because:

"Supposedly the netsh congestionprovider setting is deprecated and bugged under Windows 8/10, and one should use the Powershell cmdlets. Use at your own risk. Changing CTCP directly with netsh is not possible by default under Windows 8, the commands are still listed below for reference:"

https://www.speedguide.net/articles/windows-8-10-2012-server-tcpip-tweaks-5077

when ran from powershell it appears that the specific tcp settings are being write-protected by windows and thus cant be applied by the tool:

> PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -CongestionProvider DCTCP
> Set-NetTCPSetting : Property CongestionProvider is read-only
> In Zeile:1 Zeichen:1
> + Set-NetTCPSetting -SettingName InternetCustom -CongestionProvider DCT ...
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     + CategoryInfo          : InvalidArgument: (MSFT_NetTCPSett...ystemName = ""):ROOT/StandardCimv2/MSFT_NetTCPSettin
>    g) [Set-NetTCPSetting], CimException
>     + FullyQualifiedErrorId : Windows System Error 87,Set-NetTCPSetting

Describe the solution you'd like
script / tool that can apply all the necessary tcp tweaks, that tcp optimizer from speed guide has got, too, effectively, among others: congestion control provider, windows scaling heuristics, tcp window auto tuning, tcp chimney offload specifically.

Describe alternatives you've considered
registry, elevated command line and powershell cant do the job.

Additional context
https://www.speedguide.net/images/tcp_optimizer/tcpo_v3.png

Crash on mouse-wheel-scroll in enabled/disabled jump-list

Describe the bug
The script crashes when mouse-wheel scrolling while having any enabled/disabled jump-list selected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Service Options'
  2. Choose 'Service Configurations: Safe'
  3. Go to 'Services List'
  4. Click on 'Load Services'
  5. Choose any field in the 'Black Viper'-column
  6. Scroll up and down with mouse-wheel
  7. See error

Expected behavior
Changing of field-value, at least no crash.

Desktop (please complete the following information):

  • OS Version: Win 10 Edu (Fall Creators Update)

Additional context

  • Script Version: 5.1.2

Infinite loop query about updating the 'BlackViper.cs' file

Question
Did you look at ReadMe,FAQ or issues to see if issue is already posted or fixed?
Yes

Describe the bug
I was trying to restore from a backup file using the Custom Setting option and browsed to my backup file. Then upon hitting the 'Run Script with Custom Service List' button, a dialog box with the following query is shown: The File 'BlackViper.csv' needs to be Updated. Do you want to download the file 'BlackViper.csv'?

This occurs even though prior to running the script, the 'BlackViper.csv' is present in the directory and clicking on the button to check for an update to the Services indicates that you have the latest version.

If you hit the 'Yes' button on the dialog box, the dialog box instantly closes and the same dialog box is presented again. This continues in an infinite loop till you hit the 'No' button.

At this point, if you check the backup file you were trying to restore from, you would notice that it has been overwritten with the contents of the 'BlackViper.csv' file.

To Reproduce
Steps to reproduce the behavior:

  1. Run _Win10-BlackViper.bat
  2. Under Service Options tab, select Custom Setting in the Service Configurations drop-down list then browse to a backup file to restore
  3. Click the 'Run Script with Custom Service List' button
  4. The dialog box asking to update the 'BlackViper.csv' file should now appear
  5. Clicking 'Yes' on the dialog box will result in an infinite loop with the same query

Expected behavior
The script is executed and restores my Service Configuration according to the backup file

Screenshots
image

image

Desktop (please complete the following information):

  • OS Version: April 2018 Update
  • OS Build: Pro
  • Modded OS: No

Additional context

  • Script Version: 5.3.0
  • Release Type: Stable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.