Git Product home page Git Product logo

blackviperscript's Introduction

NOTICES

  1. BlackViper is no longer releasing service configurations and His Service Configuration is now Public Domain.

Thank you

Donate GitHub Release GitHub Release Date GitHub Issues

To Download go to -> Black Viper Script -Release

Current Version
Script: 6.2.3 (June 22, 2020)
Service: 5.0 (Febuary 25, 2019) -April 2018 Update

Contents

Description

This script lets you set Windows 10's services based on Black Viper's Service Configurations, your own Service Configuration (If in a proper format), a backup of your Service Configurations made by this script, or a Custom Configuration using the script.

Black Viper's Service Configurations from http://www.blackviper.com/

Note: This Script is meant for Windows 10 Home x64 / Windows 10 Pro x64.. With Creator's Update or newer Installed

PS. Don't forget to check out my other Repo https://github.com/madbomb122/Win10Script

PPS. My Thanks goes out to all that have helped in any way, and to the people on /r/PowerShell who have helped me solve various things.

Requirements

Make sure to LOOK at this

Recommended Requirements AT YOUR OWN RISK* (See Note Below)
OS Windows 10
Bit 64-bit (x64) 32-bit (x86)
Edition Pro or Home All Others
Min Build Creator's Update Pre-Creator's Update
Max Build April 2018 Update Newer Than this

Need Files
BlackViper-Win10.ps1 (Script) -Size about 111.0 KB
BlackViper.csv (Service Configurations) -Size about 7.34 KB (Not the same as the one on BlackViper's Website)

Recommended Files
_Win10-BlackViper.bat (To run script easier) -Size about 7.07 KB
README.md (This Readme)

You CAN do a save as on the filenames above to save them to you computer, you CANNOT do a save as on github's file list

Note: AT YOUR OWN RISK
1. Run the script on x86 (32-bit) ,But shows a warning
2. Skip the check for
---A. Home/Pro ($Edition_Check variable in script or use -sec switch)
---B. Min/Max Build ($Build_Check variable in script or use -sbc switch)

How to Use

Download/Save the release file in - Black Viper Script -Release
Note 1: DO NOT RENAME THE FILES
Note 2: HAVE THE FILES IN THE SAME DIRECTORY
Next follow the Basic Usage or Advanced Usage

Youtube Video

Someone found a Youtube video about my script on how to use it and I thought it might be useful.
https://www.youtube.com/watch?v=AiL4E56t8YI
Video brought to you by Britec09

Usage

Run the Script by bat file _Win10-BlackViper.bat (Recommended)
or
powershell.exe -NoProfile -ExecutionPolicy Bypass -File c:/BlackViper-Win10.ps1
For the above, Please note you need change the c:/ to the fullpath of your file
Select desired Services Configuration
Select the options you want and then click run script

Advanced Usage

Use one of the following Methods you can

  1. Run script or bat file with one (or more) of the switches below
  2. Edit the script (bottom of file) to change the values
  3. Edit the bat file (top of file) to change the values to add the switch
Switch Description Notes
-atos Accepts the ToS
-auto Runs the script to be Automated.. Closes on User input, Errors, End of Script) Implies -atos
-default Runs the script with Services to Default Configuration
-safe Runs the script with Services to Black Viper's Safe Configuration
-tweaked Runs the script with Services to Black Viper's Tweaked Configuration
-lcsc File.csv Loads Custom Service Configuration File.csv Name of backup/custom file, Implies -secp -sbc
-all Every Windows Services in loaded file will change
-min Just the services different from the default to safe/tweaked list
-sxb Skips Change to All Xbox Services
-usc Checks for Update to Script file before running Auto downloads and runs if found
-use Checks for Update to Service file before running Auto downloads and uses if found
-sic Skips Internet Check (If checking for update) Tests by pinging GitHub.com
-log Makes a log file using default name Script.log (default) Logs Notices, Errors, & Services changed
-log File.log Makes a log file named File.log Logs Notices, Errors, & Services changed
-baf File of all the services before and after the script Services-Before.log and Services-After.log
-bscc Backup Current Service Configuration (CSV file) Filename will be COMPUTERNAME-Service-Backup.csv
-bscr Backup Current Service Configuration (REG file) Filename will be COMPUTERNAME-Service-Backup.reg
-bscb Backup Current Service Configuration (CSV and REG file) Filename will be COMPUTERNAME-Service-Backup.FILETYPE
-sas Show Already Set Services
-snis Shows NOT Installed Services
-sss Show Skipped Services
-dry Runs script and shows what will be changed if ran normaly No Services are changes
-css Change State of Service From non BlackViper File Only
-sds Stop Disabled Service
-secp Skips Edition Check (Home/Pro), Sets edition as Pro USE AT YOUR OWN RISK
-sech Skips Edition Check (Home/Pro), Sets edition as Home USE AT YOUR OWN RISK
-sbc Skips Min/Max Build Check USE AT YOUR OWN RISK
-diag Shows some diagnostic information on error messages Stops automation
-diagf Forced diagnostic information, Script does nothing else No Services are changes
-devl Makes a log file with various Diagnostic information No Services are changes
-help Lists of all the switches, Then exits script Alt -h
-copy Shows Copyright/License Information, Then exits script

Switch Examples:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File BlackViper-Win10.ps1 -lcsc MyComp-Service-Backup.csv
powershell.exe -NoProfile -ExecutionPolicy Bypass -File BlackViper-Win10.ps1 -default
powershell.exe -NoProfile -ExecutionPolicy Bypass -File BlackViper-Win10.ps1 -auto -use -tweaked -secp
_Win10-BlackViper.bat -default
_Win10-BlackViper.bat -auto -use -tweaked -secp


FAQ

Q: When do you update the services file 'BlackViper.csv'?
A: Due to BlackViper no longer releasing service configurations, the 'BlackViper.csv' will no longer be updated unless, it is for a bug fix or someone else releases a good service configuration.
Note: If you find a good configuration please contact me with link (Contact Info is bellow)

Q: The script file looks all messy in notepad, How do I view it?
A: Try using wordpad or what I recommend, Notepad++ https://notepad-plus-plus.org/

Q: Do you accept any donations?
A: If you would like to donate to me Please pick an item/giftcard from my amazon wishlist or Contact me about donating, Thanks. BTW The giftcard amount can be changed to a min of $1.
Wishlist: https://www.amazon.com/gp/registry/wishlist/YBAYWBJES5DE/

Q: Are You or Black Viper the developer?
A: Black Viper is the creator of the service configuration. I am the developer of the script and the blackviper.csv file the script uses.

Q: I have a suggestion/Issue for the script, how do I suggest it?
A: Do a pull request with the change or submit it as an issue with the suggestion.

Q: How can I contact you?
A: You can also PM me on reddit or email me
1. reddit /u/madbomb122 https://www.reddit.com/user/madbomb122
2. You can email me @ [email protected].
Note Before contacting me, please make sure you have ALL the needed files and the size is right (Look above under requirements).

Q: Can I run the script on newer/older builds then indicated?
A: Yes/No, you will get a build check error.. It just wont change any new services (if any) and any default services settings changed from will set incorrectly. So to be on the safe side encase you want to revert to the default make a backup of your services with the script.

Q: BLAH isn't working after I used your script.
A: Check over what services were changed and make sure it isn't tied to your issue.
Example WlanSvc is disabled when using safe/tweaked on desktops (but not laptops/tables). This service is needed for wifi on your computer.

Q: Can I use a Backup File(s) on another computer?
A: You can use/load them on another computer, but be careful.
Note I would NOT use the reg file on another computer, since it may not all the same services.

Q: The script wont run, can you help me?
A: Yes, but first if you are using automation.. turn off automation and see if it gives and error that you can correct.

Q: Please E-Mail me or Post an Issue, if you are getting an Edition error when running Home/Pro?
A: Please Provide the information the screen give, Until then use -secp (for Pro) or -sech (for Home), Thanks.

Q: The script window closes or gives an error saying script is blocked, what do I do?
A: By default windows blocks ps1 scripts, you can use one of the following
1. Use the bat file to run the script (recommended)
2. On an admin powershell console Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

Q: Why does you script not change the service BLAH?
A: You didnt select the All option, it's not a default windows service, cant be changed, or some other good reason.

Q: I have an issue with the script, what do I do?
A: Post it as an issue using github's issues tab up top.

Q: Can I run the script safely?
A: Yes/No, it's safe to change the services back to default. Using the Safe or Tweaked option may cause problems for program(s) that depends on one of those services.

Q: Can I run the script repeatedly?
A: Yes, with same or different settings.

Q: I've run the script and it did BLAH, can I undo it?
A: Yes, run the script again and select again or load the backup configuration (if you made one).

Q: Can I use the script or modify it for my / my company's needs?
A: Sure. Just don't forget to include copyright notice as per the license requirements, and leave any Copyright in script too, if you make money from using it please consider a donation as thanks.

Q: The script messed up my computer because it did BLAH.
A: Any problems you have/had is your own problem.

Q: Are you going to add support for other editions of Windows 10 other than Pro or Home?
A: Sorry, I only support the windows 10 configuration listed on Black Viper's website, you can still use it on other edition but any problems you have are your own.

Q: Are you going to add support for builds before the "Creator's Update"?
A: Sorry, since I dont have Black Viper's configuration from before the "Creator's Update" I can't add it. You can use the configuration for Creator's Update, but at your own risk of possible issues.
Note: If you have Black Viper's configuration for pre-Creator's update please contact me, thanks.

Q: Will you make a script for any windows before windows 10?
A: No.

Q: What do the letters mean in the release tab after the version number?
A: The letter indicates that something other than the script was updated when the script version hasn't changed..
Note: B = Bat file, S = Service file, M = Misc or Multiple Changes

Q: Can I download the csv file from Black Viper's website and use that?
A: No, my file is not the same.

Q: Can I add a service to be changed or stop one from changing?
A: Yes, to add/remove edit the file BlackViper.csv or use the gui and uncheck the services you dont want changed
---to remove a service remove the line or put something to change service name, other than symbols (# is fine)
---to add put it in the proper format
Note 1: Number meaning 0 -Not Installed/Skip, 1 -Disable, 2 -Manual, 3 -Automatic, 4 -Auto (Delayed)
Note 2: Negative Numbers are the same as above but wont be used unless you select it or use the All Setting

Q: How long are you going to maintain the script?
A: I will no long be maintaining this script, I have made a new version of this script with support for win 7 to 11. https://github.com/madbomb122/WinServiceConfigurator

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

-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

Small Bug

Hi,

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

Thank you!

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

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

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

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)

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

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

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

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]

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.

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

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)

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

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)

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]

Windows 10 services

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

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?

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.

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

1803?

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

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

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

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...

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)

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

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

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

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 + '.'

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

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.