1
vote
1answer
158 views

Checklist to configure programs to (not) run at startup in windows 8

I'm asking specifically for Asus Splendid, I'd like to run it whenever I want so that it does not start every time I start windows. I know it's a program that is started because the screen looks ...
1
vote
1answer
89 views

Read x64 registry branch from 7-zip SFX Installer via PowerShell

I want my 7-zip self-extracting archive to run a PowerShell script after it extracts files. To do that, I use method described here: ...
0
votes
1answer
75 views

Adding Powershell command to right click menu both on and in a folder

There are some solution online but most of them just add the command when you right click on the folder. I've find a solution (which work both) for Run As Administrator here. But it works just for ...
1
vote
1answer
101 views

one-click script o backup and restore individual registry keys

I have an application that stores some settings in registry. For whatever reason, it loses some stuff on occasion. I don't really have time to figure out what the problem is (it's not even guaranteed ...
3
votes
1answer
143 views

Editing and Viewing Registry Keys from Powershell

I am working on learning Powershell and have been trying to write a script that will automatically map my drives to specific network drives. That's easy enough, but I also want certain names ...
1
vote
2answers
146 views

Opening PowerShell at the current working directory from the registry

This question is prompted by a problem I faced while writing this answer. I am invoking PowerShell like this from the registry: C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe -NoExit ...
0
votes
0answers
72 views

Setting up microsoft intune, need to lock down computer

So, I have an initiative to set up Microsoft Intune on a number (~450) remote computers. Those computers are currently running deep freeze to reduce the damage that people can do to them by ...
0
votes
1answer
189 views

Parsing ImagePath paths from parameters

I have a powershell script that iterates through all the services listed under HKLM:\Systemn\ControlSet001\services\ looking for the ImagePath to see if it has any spaces but no quotes. e.g. C:\this ...
2
votes
1answer
379 views

Autorun for PowerShell

I have created some aliases (doskey), saved them to a file and added AutoRun value (pointing that file) for cmd.exe at: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor I would like to do ...
1
vote
1answer
570 views

Search and replace registry entry value using powershell

I'm trying to update a set of registry keys, a set of properties need to be updated with a new value based on the old value. I tried using the following: Get-ItemProperty -Path ...
3
votes
4answers
1k views

launch powershell script from registry

I have a powershell script that I want to run on my PC every time I log on. I've added it as a REG_SZ in my current user "run" key, but it never executes. I've altered the execution policy to ...
1
vote
2answers
756 views

running PowerShell's Invoke-Item with a switch

I'm trying to make a PowerShell script to launch programs after I boot up my machine. I'm taking things out of the registry's "run" area and putting them in the script in the order that I want and ...
1
vote
1answer
3k views

Change Proxy with PowerShell

I would like to enable/disable the Internet proxy settings with a powershell script. cd HKCU:\"Software\Microsoft\Windows\CurrentVersion\Internet Settings" $a = Read-Host "Enable proxy? (y/n)" if ...