Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
The community reviewed whether to reopen this question last year and left it closed:
Original close reason(s) were not resolved
Improve this question
What is the name of the exe file for windows terminal preview,
its path and command to open it?
Like for windows terminal it is wt.exe
Check in AppData\Local\Microsoft\WindowsApps
Look for wt.exe or the "WindowsTerminalPreview" directory for the preview edition.
A more generic path is:
%LocalAppData%\Microsoft\WindowsApps\wt.exe
Open start menu and open Windows Terminal.
Click ctrl + alt + delete to open tasks manager.
Look for Windows Terminal task and unfold it.
Find Windows Terminal, click your right mouse button, click open file location. It will navigate WindowsTerminal.exe automatically.
That's it.
On my computer WindowsTerminal is installed at C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.9.1942.0_x64__8wekyb3d8bbwe. Note that WindowsApps may be hidden and restricted, you should make sure it is visible and accessable.
Try using where command in cmd. Like this where wt.exe, you should get full path (mine C:\Users\{user-name}\AppData\Local\Microsoft\WindowsApps\wt.exe
Usually I'd recommend that this question be moved to Super User, since it isn't programming related. However, it's too old for that at this point.
wt.exe is what's known as an "Execution Alias", a "fake exe" method to open a Windows Store app (a.k.a. Metro, a.k.a. Universal, a.k.a. Modern, or whatever it's called today).
Both "Windows Terminal" and "Windows Terminal Preview" use the same wt.exe execution alias, since Preview is just a pre-release of the final version.
If you have both versions installed, you'll need to choose which one runs with wt.exe by going to "Manage App Execution Aliases" in the settings (just search for it in the Start menu). Switch off the one you don't want to be using; switch on the one you do.
I was able to execute wt.exe previously.
Now "%LocalAppData%\Microsoft\WindowsApps\wt.exe" returns the following. The system cannot find the file XXXX\Microsoft\WindowsApps\wt.exe.
The wt.exe is in this directory as expected.
However, when I search for "Windows Terminal" and open it from the start menu it opens.
I believe this behavior is due to a change in my companies security GPO governing the execution of scripts. I am not certain of this yet.
I do not yet have more details but I am digging to find out more.
Related
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 23 days ago.
Improve this question
On my Windows 11 computer I'd like adjust a few settings programtically (hidden). Basically it should be performed without elevated rights, so standard users can use it too. By the way, it's my own idea, no office work.
Currently I try to turn off the standard startup sound in mmsys.cpl -> Sounds. Though its a global settings for all users, from within the GUI its easy to do (simply unchecking the box) and doesn't need elevated rights. Strange, but seems like intended by Microsoft.
But I have to do it without any GUI. There are several posts online how to change it in registry (under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\BootAnimation "DisableStartupSound") but all of them require administrator rights.
Assuming unchecking in GUI pass a specific command that triggers the registry key to be changed, I would like to know that command. Workarounds are welcome - as long they doesn't need admin rights or cause a GUI to get open. Scripts like batch, vbs or powershell are as good as an executable.
Does anyone have an idea?
Writing to HKLM does require elevated rights for most keys.
The Settings app is either using UAC auto elevation (only for Microsoft apps) or asking a service to change the registry on its behalf. Process Monitor should be able to tell you which process is writing...
On my Windows 10 system the registry permissions for the BootAnimation key are set so that all authenticated users can set the value. Reg.exe does not seem to work because it asks for too many permissions but WSH works:
CreateObject("WScript.Shell").RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\BootAnimation\DisableStartupSound",1,"REG_DWORD"
..and save as a .vbs
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm trying to fill up a form from here . Upon selecting Natural Person from the drop-down menu, a form appears with a button Add Digital Signature. Whenever I click on this button, it gives me this error:
An error occurred when attempting to open certificate list, the error was:
Automation server can't create object
I've tried enabling the Initialize and Script Activex controls not marked as safe for scripting feature from internet option but the same error occurred.
I've tried different versions of Internet Explorer starting from version 6. Can anyone help me ?
1)Download capicom_dc_sdk.msi from
https://www.microsoft.com/en-us/download/details.aspx?id=25281
and install.
2)Locate capicom.dll "e.g. C:\Program Files (x86)\Microsoft CAPICOM 2.1.0.2 SDK\Lib\X86\capicom.dll"
2)Open command prompt with administrator privilege, change directory to directory containing capicom.dll and fire below command
regsvr32 capicom.dll
i was facing same problem. Then I called e-mudhra (I bought dsc from here ) customer care. They took access of my laptop via anydesk, and they performed similar operation i.e.
downloaded capicom.dll.zip.
extracted it.
then copied it (capicom.dll) to : This PC > OS (C:) > Windows > SysWOW64.
then run below command as administrator in cmd :
Microsoft Windows [Version 10.0.18362.836]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cd ..
C:\Windows>cd SysWOW64
C:\Windows\SysWOW64>regsvr32 capicom.dll
C:\Windows\SysWOW64>
5. Now try with Internet Explorer. (Mozilla firefox will not work !)
Now I am able to sign up on website ipindiaonline.gov.in
Process is needed each time after you restart your computer.
Please note that running cmd in Administrator mode is necessary.
To people reaching here, I solved it by installing a digital certficate provided by e-patent website. You need to check which class of certificate you want for authentication.
Here's the updated link from where you can download the certificate:
https://ipindiaonline.gov.in/epatentfiling/faqs/index.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm currently using a tool to modify hosts file ,and it said i should run it as administrator to replace hosts file, and i did so.
but ,it still failed.
And when i manually copy hosts file to etc folder, Windows will also ask me to provide administrator permission to copy to the folder.
This refresh my opinion about Windows administration.I also have wrote some programs that need to be run as administrator, and it works fine,i never though there is something you can't do even run as administrator.
So,if "run as administrator" isn't the highest level, how could a application request a higher level?(eg. replace hosts file on my computer)
Here is what i found after posting this question:
1.Thanks guys below, your opinions inspired me.
2.It's surely not related to safe mode.
3.I manually right click on the host tool and select "run as administrator", it works!It can replace the hosts file!You guys can try it,if you run notepad as administrator, it will also can write to hosts file.
so,here is what i guess:
The system do have two administrator level.
When double click on the my hosts tool, it only requires the lower level of administrator,so it failed to replace hosts file.
But manually right click and run as administrator, the system will give the tool highest level,and it can replace hosts file.
Explorer.exe only have a lower administrator level even you log in as administrator.That's why I need further permission when i paste hosts file manually.
What you did,I was trying to achieve the same manually,but I also faced the same situation. Actually,going into the permission related section,you will find that there are 3 users/groups at least assigned to each system :-
System
Administrator(includes all those accounts which are admin)
the logged in user-account.
So,basically,what Windows does I guess is that it takes special care about the systems file like C:/Windows/System32/driver/etc/hosts.file is a system-configuration related file which looks for mapping the hostnames to IP-Addresses!
The hosts file is one of several system facilities that assists in
addressing network nodes in a computer network. It is a common part of
an operating system's Internet Protocol (IP) implementation, and
serves the function of translating human-friendly hostnames into
numeric protocol addresses, called IP addresses, that identify and
locate a host in an IP network. // Taken from Wikipedia
Hence,you need to have a special permission for editing or configuring hosts file like editing it in safe mode. Though default settings are those which I mentioned, you can always manually configure the permissions.
But,the one line answer to your question is
Yes,System Configuration Files aren't editable manually by default,either they need editing to be done only if Windows is running in Safe Mode,or you need to change the settings manually for your administrator account...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I had a directory 'c:\windows.old\ leftover from upgrading Windows 8 to 8.1. I wanted to delete the directory and could kill most of it using Windows Explorer shift+delete (delete no undelete).
However there were a few tricks left in there from good old MSFT themselves. For some odd reason they decided that having really long names (RLNs) for the cache entries was a Good Idea. Most Windows utilities (Del/Dir/PowerShell get-children) just die a stinking death when they see a file with a RLN.
So off on the hunt for something to put them out of their too-long misery.
I found this PowerShell add-on module at http://poshcode.org/2488. Joel's ps module adds several commands to ps, including get-longpath and remove-longpath.
Download the zip from his site and unzip it to C:\windows\system32\WindowsPowerShell\1.0\modules. You should now have an Experimental.IO folder in the ps modules directory.
Crank up PowerShell ISE (windows key+x, select Windows
PowerShell ISE) or open the PowerShell command windows (Windows key+x,
Windows PowerShell).
Navigate to the directory with the offending RLN files (e.g. 'c:\Windows.old\users{{username}}\Appdata\Local\Microsoft\Windows Store\Cache\0'. Your ps prompt should now be:
Now on to more productive work.
PS C:\Windows.old\users{{username}}\AppData\Local\Microsoft\Windows Store\Cache\0>
Enter this command: Get-LongPath | Remove-LongPath
This will pipe the RLN filenames to Remove-LongPath. PowerShell just returns to the command prompt, but you verify there are no long files by entering Get-Longpath (or its alias glp) and Dir to see there are no long any RLN files in the directory.
As a last note, if you want to save yourself about an hour, refer to this SO post to ask Windows to delete the Windows.old folder on your behalf from the Disk Cleanup utility.
1) Put Linux on a thumb drive. Ubuntu will be fine.
2) Boot to the thumb drive.
3) Delete the files in question from the UI or from the command line:
rm /path/to/file/that/you're/deleting/42915u02u51...24521.doc
Honestly deleting it wth a Linux thumb drive is far simpler and more reliable than hoping Windows utilities and workarounds won't muck it up.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've closed firefox window. When I wanted to open the error came out.
You cannot open because firefox is already opened but it is not responding. Please close firefox or restart your system.
I've looed for solution on internet. Most people say close firefox using task manager. Then I opened task manager but there is no firefox process. So how can I close it. How do I restart?
Try this:
May be your Firefox previously exited without deleting the lock file.
Restart your computer. After it restarts, don't try to start Firefox.
Go to your Firefox profile folder
Delete the lock file parent.lock
If you attempt to delete the parent.lock file and receive the error, "Cannot delete parent: The file or directory is corrupted and unreadable", restart the computer and run the error-checking tool Chkdsk (Windows 2000, XP) or ScanDisk (Windows 98, ME)
or normally following should also work:
Start Task Manager.
Select the Processes tab.
Select the entry for firefox.exe and click End Process.
Click Yes in the "Task Manager Warning" dialog that appears.
Repeat the above steps to end any additional firefox.exe processes, if more than one entry is found, then exit the Windows Task Manager.
Start Firefox normally.
Hope this helps.
Reference:- support.mozilla.com
Here is my suggestions:
Install a free anti-virus application (eg avast)
Update that anti-virus application with latest definitions
Perform a thorough scan of your PC
If that problem still persist, then re-install your firefox
If that problem still there, re-install your operation system and install firefox again.
If that problem still there, then change the browser. Use chrome instead
Strange! If you will succeed to start your firefox somehow - try to clean all cache (Tools->Clean recent history) and check addons (Tools-> Add-ons. Disable all suspicious.)
Otherwise - I would reinstall the firefox.