Trying to correct a file name in Windows Registry - windows

While researching a Powershell security problem, I found several creative suggestions on SO.
But before I could try them out, I created my own problem in the forbidden Windows Registry.
By dumb mistake I partly erased a folder name, which I have been unable to correct.
Googled a slew of keyword combos that all led to Powershell USES, not to folder NAMES.
So here is my embarrassing first SO forum question:
In HKEY_CLASSES_ROOT, Powershell has five folders, appearing in this order:
MicrosoftPowerShellConsole1
MicrosoftPowerShell**?Name?**
MicrosoftPowerShellModule1
MicrosoftPowerShellScript1
MicrosoftPowerShellXMLData1
Can somebody suggest the best search keywords to use, or even better, the missing ?filename?
Thank you very much.
John

Related

Empty Netbeans13 pallet on Windows 11 (x64 bit)

Good day everyone.
I'm having some trouble with Netbeans-13 running on a windows 11 (x64 bit system). If I open a project (new or old) it does not show any of the palette options.
I use Netbeans-13 on a similar system at home but I'm away an a trip and thought to continue with the project but can't seem to get my Netbeans-13 palette to work.
I've tried everything I could find and/or think of.
Any advice would be appreciated.
I'm expecting something that could possibly help me but any advice is appreciated.
I've tried googling the question and found solutions that doesn't work on my system/program.
I've tried the solutions that were given for a similar issue on Netbeans-7 but can't find Anny that worked.
I've asked a technician if he has had any ideas. He tried helping but nothing worked.
I've tried a application developer I know and he also tried helping and nothing worked.
I'm stumped😅

Is it possible to define a Windows Installer-uninstaller filename? [duplicate]

This question already has answers here:
The UAC prompt shows a temporary random Program Name for msi, can the correct name be displayed?
(2 answers)
Closed 5 years ago.
Hi!
Would somebody answer my question, please?
I need an user-friendly WIX uninstaller filename, how to achive it?
It looks like windows set an artificial name which looks like a password :)
Thank you very much.
UPDATE: It appears signing the MSI with signtool.exe and the /d switch will change this behavior as explained in these answers
(thanks to Phil for finding this):
The UAC prompt shows a temporary random Program Name for msi, can the correct name be displayed?
Odd 'Program name' when installing signed msi installer
Slipstreaming in a relevant link: Installshield Custom Dialogue Installer
The name you are seeing is probably the random hex name assigned to a copy of the original installation database that is cached on the system in %SystemRoot%\Installer (normally C:\WINDOWS\Installer). This is a "super hidden" OS folder, and it should never be touched in any way at all.
A sample path to such a database could be: C:\WINDOWS\Installer\7da655.msi. I am pretty sure this is what you are seeing in your UAC prompt. Please verify or better yet add a picture of it to your question for other people's reference.
This cached database, with the weird name, is used during modify, repair and uninstall operations for the software in question. What WiX is showing you is in every way the correct information - it is what a system administrator might even need to see at some point. However, other setup creation tools do things differently, often showing the vendor and the product GUID instead of the full path to the cached database.
So that was the explanation - now we have to wait for one of the WiX guys to actually answer whether it is possible to change this display type. As such this is more of a comment than an answer, but it should be relevant to understand what is going on. I am also going to have a look now to see if I see any options to change this in WiX.
In my personal opinon the WiX display is superior to some of the other UAC dialogs shown for other MSI files, but I realize you find this information too detailed for your users. I suppose they could hide this path in the "more information" section.

File History in Windows 8.1

I know this question has been apparently asked here and here
But mine is different.
Do file histories include only extensions such as pdf, jpg, mp3, doc
etc
File history for moved files is available not just deleted ones?
At preset I am accessing C:\Users\Myname\AppData\Roaming\Microsoft\Windows\Recent folder
But here I am not able to see recently modified files which come under a directory in Users\Myname folder. Why do all recent files not get mentioned here?
Is there place where these settings can be changed?
Is it possible to look up recently accessed/modified folders?
I have a developing background in assembly and C but restarting after more than 6 years. I saw other threads where they were doing things programmatically but did not understand much and looked their requirements were different from mine. I am willing to try out programmatic solutions if an online source is pointed to.
I take a regular back up of my files, but yesterday happened to give my PC into someone's hand when learning something and the person was an impulsive shift deleter not even bothering with the messages on the PC and was not very aware of what was being done or happening.
Question 2 is because I have earlier accidentally moved folders into another folder in a previous PC
I found this when I was trying to help somebody else find a file they recently accessed
In Windows 8.1 there is something called "Recent Places" under Favorites in File Explorer. This was in the same favorite list where I had kept Recent Items and still did not notice it because of getting panicky. This showed me the folders I had accessed something I really wanted a week back. It would have saved me so much tension and my precious time.
Now am planning to update to Windows 10 and google searched if I will still have access to this data and found this
http://answers.microsoft.com/en-us/windows/forum/windows_10-files/restore-recent-places-to-windows-10/037af727-9b06-485e-bb45-4a6c60a3f222?auth=1
Hope this is useful to someone

How to delete file along with all hard links on windows?

This question's context is the Windows operating system...XP on up to Win 7/8.
If you create a file on a drive and then create one or more hard links to that file, then if you delete the original file the file still resides on the disk since the hard links still refer to that file.
Is there some simple way (delete option?) to be able to remove the file and all of the hard links without having to search around for the hard links (not sure how you even find those from a simple windows user interface standpoint...I know you can do it with programming code, but I am looking for a user-level solution within the standard operating system user interface)?
Thanks!
EDIT:
I found this question/answer that discusses how to programmatically use c++ to find additional links to the file, but still searching for a standard windows UI or command line method. How to find all hard links to a file in Windows starting from XP in C++
Also found this link on superuser.com that doesn't give me much hope. Help!
https://superuser.com/questions/366739/how-can-i-find-hard-links-on-windows
There is a free utility called ln.exe that has a --list option that finds all of the hard links related to a given filename. Its download also comes with a batch file (DeleteAllHardlinks.bat) that will automatically delete all of the hard links to a given file name.
This pretty much addresses my need, so I will consider this a good answer.
Here is a link to the page for this utility. Hope someone else can benefit from this in the future!
http://schinagl.priv.at/nt/ln/ln.html

Most suitable place to store programdata for use over network

I am currently working on a CRM application. The application is meant for multiple users, so I need a suitable folder to store things like documents, notes and most importantly the database. This folder should be shared across all users and over network as well.
After searching online it seemed this folder is recommended: "C:\Users\Public\Public Documents". However, this seems like a rather 'hard to find' folder for our customers, who are for the most part little to no experience with computers.
Our non-programmer suggested simply using "C:\CRM\", since it is very easy to find even for new users (and unlikely to be forgotten during a backup!)
I've been trying to find out what the (technical) ups and downs about these two folders are, but I'm finding it hard to get a clear answer. So bassicaly my question is:
Can anyone explain to me why I shouldn't use "C:\CRM\", but I should use "C:\Users\Public\Public"? And what problems I could run into when I do use "C:\CRM\"?
Thanks in advance!

Resources