Tagged Questions
2
votes
1answer
38 views
How to export a specific registry key to a text file using command line
How can I export specific value from the registry to a text file using the command line?
For example, I want to export Hkey_local_Machine\Software\mcafee to a text file in C:.
I just need the key – ...
2
votes
1answer
38 views
How to start CLSIDs from the command line?
Some of my shortcuts in Windows are pointing to targets that look like CLSIDs, and I cannot modify the target, it's grayed out. They look like this: {ED228FDF-9EA8-4870-83b1-96b02CFE0D52} (non-working ...
0
votes
0answers
141 views
Multiple context menu run as administrator through registry editor
I am trying to create two context menus for .EXE files in Windows 8, both of which will need admin privileges. As I can see in registry, HKEY_CLASSES_ROOT\exefile\shell\runas can only have one command ...
1
vote
0answers
112 views
How to reload windows color settings after change of registry key?
I've got a little question regarding the color settings in windows 7:
Via Desktop-Right-Click -> Personalize -> Window Color -> Advances Settings
I'm able to change the color of the selected items. ...
0
votes
1answer
143 views
%1 in registry not being expanded in Windows 8
I have made a tool that adds some things to the context menu when right clicking a directory, inside the 'empty space' of a directory, or a drive. I have used this extensively in Windows XP, Vista, ...
0
votes
1answer
65 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
241 views
How can I add a value to the registry via command line without a .REG file?
I have a need to add my external IP address to the Windows registry on a scheduled basis, and I want to do this with a bat/cmd file to automate the process.
I was able to use the advice from this ...
3
votes
3answers
132 views
Easiest way to update a Registry value?
While using Linux I've grown accustomed to one-liners when I search online to fix annoying defaults. I know that these one liners could be very dangerous so I always make sure I know what they are ...
1
vote
1answer
252 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 ...
6
votes
1answer
514 views
Is there a tool for managing file extensions and their respective program command lines?
I'm trying to associate .appx files with a utility I wrote which needs a command line similar to appinstaller --install-only --force path\to\appxfile.appx. It also must run as an administrator
I ...
0
votes
1answer
384 views
reg delete gives me “access is denied” but regedit delete is ok
I need to delete a key from a command line. So I wanted to use reg delete "the key to be deleted" /f but I get ERROR: access is denied.
From the same login session (the same user) I am able to delete ...
0
votes
1answer
40 views
How can I schedule an item to run? [duplicate]
Possible Duplicate:
Schedule a job from the Windows command line?
I'm working on a deployment script for a production machine. I do not have direct access to this machine.
Is there a way ...
0
votes
0answers
131 views
Starting Pro-Engineer in a Folder with RMB menu
The issue in link below sounds like it may be related to a problem I am having getting Pro-Engineer to start in the Folder I RMB on. If I create a Folder within the Folder I want Pro-E to start in and ...
1
vote
1answer
358 views
Trying to get to the command prompt through recovery disk
I'm trying to reach the command prompt through a vista recovery disk I have, and it boots from the disk and gets to the point where it asks which installation I want to repair and then says the disk ...
2
votes
1answer
234 views
Command line syntax for launching a softphone
I was advised to use the following command, from the Windows command line, in order to get my softphone to dial a number:
@="\"C:\\Program Files\\qutecom\\qutecom.exe\" \"-c\" \"call\\%1\""
...
7
votes
2answers
3k views
Is it possible to “declare” a windows cmd-file (batch-file) as 32 bit?
Background:
We do quite some scripting and little helpers with batch files (xyz.cmd) at work. Windows 7 is only now starting to become widespread here, and obviously, we hit the problems associated ...
3
votes
2answers
1k views
How to save and restore options for cmd.exe window?
After installing Windows Vista when I run cmd.exe the font size is very small, not suitable size of console etc.... I need to configure it.
I suppose my configuration is stored in registy - I want ...
1
vote
1answer
1k views
Command Prompt, msconfig, regedit close immediately after opening
cmd.exe, regedit, msconfig and other system utilities close immediately after I open them. After restarting Windows, the folder option "Hide extensions for known file types" is automatically checked.
...
1
vote
3answers
5k views
win xp - permanently map a network drives from command line?
I can open "My Computer"..tools..map network drive. Check "Reconnect at logon". And it is permanent. But I may want to clear the shares, and create them quickly. So I want to automatically do a few, ...
5
votes
4answers
2k views
What is the list of special variables available when writing a shell command for a context menu
When extending the Windows' shell context menu (e.g. for adding an 'Open command here' prompt on directories), a 'command' key needs to be created in the registry.
The value of this 'command' key ...
5
votes
7answers
2k views
Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7
I don't want to install PowerToys, I'd rather a simpler solution for this specific problem.
I've tried Ctrl+Shift+Right-Click.
I've tried adding a registry script, but I get the following error:
...
3
votes
4answers
1k views
How can I search the windows registry with regular expressions?
Is there a tool or method with which I can search the windows registry with regular expressions?
12
votes
4answers
7k views
How to change the cmd.exe font? [duplicate]
Possible Duplicate:
How to change the Windows console font?
Firstly: I have tried the options dialog for it (the one that Windows shows) and I don't want that.
The default windows option ...
0
votes
1answer
1k views
What's the best way to convert this complex “takeown” command into a shutdown script?
I found this command here.
The command is structured as a registry modification that will add a "Take Ownership" entry in the standard Windows Explorer file/directory context menu. I can see where ...