raptorddd Posted April 29, 2022 Share Posted April 29, 2022 not sure where to start... i want to have a script that would set useless services to manual. one script that i used was chris titus essential tweaks. in the debloater. but it also disables some options or features i want.. so am wondering if can be done that i could use that part of the script only. i tried myself ( i have 0 knowledge but tought i could copy only that part and just create a new script) not sure if it needs more code to work. tried lit script but fails error access is denied. so if it can be done and someone know how if you can please help.. thanks dell precision m4600 i7 2760QM 8GB ram MX500 crucial SSD 500GB. win 10 21H2 Link to comment Share on other sites More sharing options...
ratchetnclank Posted April 30, 2022 Share Posted April 30, 2022 Save the following in a .ps1 file for powershell and run it, replace with the services you wish to disable. #requires -RunAsAdministrator # comma seperated list of service names to set to manual $servicestodisable = "Fax","GamingServicesNet" # loop through each service and set to manual and stop the service. Foreach ($service in $servicestodisable) { $s = Get-service $service $s | Set-service -StartupType Manual $s | stop-service } 1 Link to comment Share on other sites More sharing options...
raptorddd Posted May 1, 2022 Author Share Posted May 1, 2022 4 hours ago, ratchetnclank said: Save the following in a .ps1 file for powershell and run it, replace with the services you wish to disable. #requires -RunAsAdministrator # comma seperated list of service names to set to manual $servicestodisable = "Fax","GamingServicesNet" # loop through each service and set to manual and stop the service. Foreach ($service in $servicestodisable) { $s = Get-service $service $s | Set-service -StartupType Manual $s | stop-service } thanks so i just add services here.. "Fax","GamingServicesNet" or here $s = Get-service $service on this last part $printspooler dell precision m4600 i7 2760QM 8GB ram MX500 crucial SSD 500GB. win 10 21H2 Link to comment Share on other sites More sharing options...
ratchetnclank Posted May 1, 2022 Share Posted May 1, 2022 8 hours ago, raptorddd said: thanks so i just add services here.. "Fax","GamingServicesNet" or here $s = Get-service $service on this last part $printspooler In the line with fax. Replace those with any services you want disabled. 1 Link to comment Share on other sites More sharing options...
raptorddd Posted May 1, 2022 Author Share Posted May 1, 2022 5 hours ago, ratchetnclank said: In the line with fax. Replace those with any services you want disabled. got it thank you. dell precision m4600 i7 2760QM 8GB ram MX500 crucial SSD 500GB. win 10 21H2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now