Tag Info

New answers tagged

1

I don't have this key in my system, so below is for demonstration purpose only, you might need to modify the "reg add" line accordingly. @echo off &setlocal set cmd="wmic useraccount where name='%username%' get sid" for /f "skip=1" %%i IN ( ' %cmd% ' ) DO if not defined SID set "SID=%%i" echo %SID% reg add ...


0

How does Add/Remove Programs get the size and other information? If the program doesn't provide this information itself, Add/Remove Programs is forced to guess. If the program doesn't provide this information itself, Add/Remove Programs is forced to guess. The problem is that there is no "obvious" way to map an entry in the Add/Remove Programs ...


0

I will answer the specific question posted: What should the line in the .bat file be?, which was split into 3 necessary steps. JosefZ answered separately the 3 points leading to the answer. DavidPostill gave another option for point 2. The resulting code would be set "app1=%~1" if "%app1%"=="" ( echo No parameter supplied. This should be run as echo ...


1

How to do I use the parameter with .exe removed (for the directory part)? You can use %~n1. This expands %1 to a file name without the file extension. Parameter Extensions When an argument is used to supply a filename then the following extended syntax can be applied: We are using the variable %1 (but this works for any parameter) ...


0

I, too, was subject to the same issue. I performed the following to resolve the problem: Within CCleaner, select 'Open in Regedit'. Right click on the key entry and select 'Permissions' in the context menu. From there, go to 'Advanced' and take ownership of the key [search for your user if need be] -> check both 'Replace owner on subcontainers and objects' ...


-2

You don't need to edit the registry. Go to Control Panel -> All Control Panel Items -> Default Programs -> Associate a file type or protocol with a program. Below the list of extensions (including .htm and .html) you will see the protocols, and you can view or change the associated program. The protocol list includes HTTP, HTTPS and FTP. This applies to ...


2

The registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\<protocol>\UserChoice\Progid where is http, https, mapi, ftp etc) You will see that in my case FirefoxURL is my default for HTTP making Firefox my default browser for HTTP. Other browser records include: FirefoxURL (Firefox) ChromeHTML (Chrome) ...


0

Arent you supposed to use "imageres.dll,3" because its 3rd icon in imageres.dll? You can try Default Programs Editor application, open program, click icons, find file type, click next, choose icon from imageres, and save as .REG file, then check whats inside that .reg.


0

Unfortunately, there is no easy way. As you’ve noticed, you’re missing the magic “read those settings now” command: InternetSetOption(NULL, INTERNET_OPTION_SETTINGS_CHANGED, NULL, NULL) InternetSetOption(NULL, INTERNET_OPTION_REFRESH, NULL, NULL) Of course, you can’t just call a C function from cmd. There is, however, a (relatively) viable way to do it ...


1

its a known bug I found it on the Microsoft web site, right click a running application from the taskbar when you have the contextual menu open left click and drag the taskbar and it jumps to the top of the screen, there is a hot fix for it but they say its not fully tested so install at your own risk. they only true way to restore it is to remove the gpo or ...


0

I'm answering my own question because I have a result but only a theory on how it came to be. Having tried all options I could think of - including krowe's sensible suggestion - and got nowhere I started again from scratch. So fresh partition, fresh install, and this time the Windows update assistant doesn't say "doesn't support NX". So I think Ramhound ...


1

This worked for me, went to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon and changed DefaultDomainName and DefaultUserName values to the desired string data. Additionally for auto-login it needs to be set (create it if it does not exist) the DefaultPassword value with the user password as string.


1

Press Alt-Space and then M, then use the arrow keys to bring the window back on screen. This is assuming that Paint has actually been launched, yet for whatever reason has opened off-screen and will allow you to move the window into the screen area.


0

While uninstalling, use RevoUninstaller and then CCleaner. This'll get just about every reference relatively safely.


3

Before Microsoft started to use registry, they had INI files (text files). They found very difficult to develop a good platform using only INI files because: It isn't easy to support Unicode. It's a text file, so the permissions are set at the file level, not at the key level. Whoever have access to the file have access to all parameters on it. If two ...


0

As detailed in this article Load Hive... is only enabled when HKEY_USERS or HKEY_LOCAL_MACHINE is selected. Once you have loaded the old hive you can locate the PuTTY settings and export them (and import them again after fixing the key names in the exported file). Usually you don't have to copy anything else to have PuTTY work as before. If you've created ...


0

It's an old method , but you can simply clear these entries with this console command: mountvol /r This removes volume mount point directories and registry settings for volumes that are no longer in the system.


0

Alright, I found the source that helped me solve the problem before, and I finally got it to work. :) Here's my attempt at a definitive answer for everyone wanting to disable the auto-login in Windows 8. For the solution that worked for me, see approach 5. Approach 1: Workarounds The easiest thing to do is to give every user a password, so they're not ...


-1

Here is one solution for all context menus. http://stackoverflow.com/questions/20449316/how-add-context-menu-item-to-windows-explorer-for-folders/20458056#20458056 But, How to pass multiple directories or files to this context menu as arguments as %1 is taking only one and when we ctrl+click multiple files, it is opening the executable mutliple times ...


0

It sounds like you are running domain environment, for sure it is safe to delete, BUT do you have permission to delete the registry key? Usually you wont have it. Also, group policy will automatic apply again when you log on, so there is no point to delete it.


0

Open a New Text File .txt and save it in desktop by give any name and extension as .exe and close it, open properties of the file which you want to change open with and in general tab click change in open with column click Browse and select your created .exe file and click ok it will change to your new created program and then delete your exe file that's it ...


1

I have the same issue in Windows 7. I finally got sfc to run using the following commands from the repair console (for some reason, it assigned D: to my main disk, rather than C:) del d:\windows\winsxs\pending.xml del x:\windows\winsxs\pending.xml sfc /scannow /offbootdir=D:\ offwindir=D:\Windows (However, sfc now tells me Windows Resource ...


0

Used ShellExView to disable IEContextMenu Class running for Symantec, mostly this is the same file that is culprit across all Anti-Virus running on Windows 8 There is also a similar thread Why does File Explorer hang frequently in Windows 8?


0

SOLVED! First thing, it is not necessary a virus. Do not spend hours looking for malware or virus if you already have an antivirus installed. This problem happend to me after a Windows Update. The first time I had identified the culprit to "Update for Windows 7 for x64-based Systems (KB2952664)" that time after two days I only solved the problem by ...


1

Approach 1: Registry Set DWORD value dontdisplaylastusername to 1 in the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Approach 2: Security Policy In Security Policy, disable "Local Policies -> Security Options -> Interactive logon: Do not display last user name." Source: ...


0

So i ended up removing Full Control permissions from SYSTEM on the Reg keys in question leaving only the users admin account with full control, but this is not an ideal solution, If anyone has a better solution share with the class.


-1

To answer your question it could be quite a few things. Make sure you have a good power supply and the highest ddr ram your mother bord can use. One of the easiest things to. Do and you should do every so often is clean your registry. You can also find alot of help in the command prompt.


0

As luck would have it, right after I post the question, I find a solution. Turns out VS exported the settings about a month ago for some reason. I imported them back and things look much better now.


2

How do I check if a key is present in the windows registry This can be done using reg query key: This command will set %errorlevel% errorlevel=0 means the key exists errorlevel=1 means the key does not exist How do I add a key to the windows registry To add a key if it is not present use reg add key Example batch file @echo off reg query mykey ...


2

Hold control and shift when opening the command prompt. This will open the command prompt as an Administrator (probably after popping up a UAC dialog). Then you should have full rights to do whatever you want with the registry. Be EXTREMELY careful though, because messing with the registry is the quickest way to completely kill a Windows machine. Edit: ...


0

I switched to PowerShell using this script: $TheUser = Read-Host "What is the username?" $ThePassword = Read-Host "What is the password?" -AsSecureString $TheDomain = Read-Host "What is the domain?" New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name AutoAdminLogon -Value 1 New-ItemProperty -Path ...



Top 50 recent answers are included