831
top 50 comments
sorted by: hot top new old
[-] omgboom@lemmy.dbzer0.com 104 points 10 months ago* (last edited 10 months ago)

I hate windows with a burning passion, but if you must use it then you should install Powertoys. Among the many useful utilities is file locksmith which will not only tell you what program is holding onto a file but also allows you to close it.

Edit: Also the "Awake" feature will keep your computer from falling asleep. Pair this with Caffeine.exe from Zhorn software (free download) and it will keep you green on MS Teams. One of the other useful features is the text extractor, which will capture any written text on your screen and copy it to your clipboard.

[-] HootinNHollerin@lemmy.dbzer0.com 40 points 10 months ago

Agreed powertoys should just be installed by default

[-] over_clox@lemmy.world 8 points 10 months ago

While I tend to agree, I feel the average user would just end up shooting themself in the foot with such tools readily available.

[-] kautau@lemmy.world 5 points 10 months ago

Yeah especially because they tend to add new features and enable them by default. I dislike having to use windows, but powertoys is where actual UX and power user improvements happen, so it's a must. But like if "auto dark mode" was turned on globally there would be people shooting their computers for being dark on their property

[-] boonhet@sopuli.xyz 4 points 10 months ago

They don't have to be very visible to average users even if installed by default

load more comments (1 replies)
[-] sheogorath@lemmy.world 7 points 10 months ago

PowerToys are basically functional tools that the Microsoft Engineers want to add but can't due to needing to convince the Product Manager that adding said functionality will increase the bottom line.

[-] vrek@programming.dev 15 points 10 months ago

Sys internals also... So many useful features for free but you have to know to install

[-] Carrot@lemmy.today 14 points 10 months ago

Yeah, back in my early pirate years as a teen, I downloaded a virus. I was able to sniff it out, and I deleted it. But after every restart the files came back. I eventually found that it had created a separate file that would run a script to check for the existence of the others, and replace them if they were ever removed. I tried to delete this file, and couldn't; their safety measure was to have that file always be referenced by something so it was impossible to delete. File locksmith was what made it possible to remove, and tattled on what program (yet another part of the virus) was keeping it open.

[-] dontsayaword@piefed.social 8 points 10 months ago* (last edited 10 months ago)

It's also possible to do this in the resource monitor in task manager without installing anything. I'm off Windows these days so I dont remember the particular steps.

Edit: Here are the steps:

  • Press Win + R, type resmon, and press Enter. This will open Resource Monitor.

  • Go to the CPU tab.

  • In the Associated Handles section, use the search box to enter part of the file or folder name.

  • The results will show which processes are using the file.

  • You can right-click the process and select End Process if necessary (be cautious when ending processes).

[-] Empricorn@feddit.nl 6 points 10 months ago

particular steps

Yeah, imma install PowerToys.

[-] dontsayaword@piefed.social 5 points 10 months ago

I added the steps to my comment. Its fairly simple. PowerToys is great, but if you're ever in a situation where you don't have it and want to do this quickly, it's good to know.

[-] Empricorn@feddit.nl 5 points 10 months ago

I'm snarky, but this is genuinely great information. Thanks for sharing!

[-] kayzeekayzee@lemmy.blahaj.zone 4 points 10 months ago

Also with the "always on top" powertoy feature, you can put a little Sharkle in the corner of your screen to keep you company!

load more comments (1 replies)
[-] dogs0n@sh.itjust.works 3 points 10 months ago

I did this exact thing yesterday and Powertoys told me no one was using the file. Now it will just exist forever because I gave up.

Obviously I deleted powertoys after it failed to help and now all I can be is glad that this isn't my main OS.

load more comments (1 replies)
[-] jordanlund@lemmy.world 40 points 10 months ago

I used to teach Microsoft Access:

"Scan Database For Errors" returned 1 of 2 messages:

"No Errors Found"

"Errors Found"

Good luck!

[-] TheRealKuni@piefed.social 22 points 10 months ago

Man, Microsoft Access got a lot of well-deserved hate, but it was a very easy way for someone who didn’t really know what they were doing to set up a relational database.

But everyone thought, “We’ll just continue to treat Excel spreadsheets like a database, that’ll be fine.”

[-] Godort@lemmy.ca 9 points 10 months ago

Access fills a very specific niche that is right in between "too big for Excel" and "too small for SQL Express".

The problem is that this window is very narrow, and after just a small amount of growth, it suddenly makes sense to migrate again to proper SQL. In my(admittedly limited) experience it was almost always better to just skip Access.

[-] mp3@lemmy.ca 3 points 10 months ago

I wish there was something in between but based on SQLite.

[-] otacon239@lemmy.world 4 points 10 months ago

Honestly, projects like AppSmith and Baserow are pretty good at this. Google AppSheet is by far the best implementation of this style of low-to-no-code app builders, but comes with the obvious caveat of being a Google product.

If someone managed to make an open-source solution as slick as Google’s, I’d be right on it. As it stands, all the competition that I’ve found requires a decent existing knowledge of SQL queries to run the widgets themselves.

[-] cassandrafatigue@lemmy.dbzer0.com 7 points 10 months ago* (last edited 10 months ago)

The problem with using google instead of open source is that one day your shit suddenly has ads or ceases to exist.

[-] otacon239@lemmy.world 2 points 10 months ago

I just did some digging and Grist actually seems to do most of what I need it to. There may be hope yet! It’s still not quite as slick as AppSheet, but may be a step in the right direction.

[-] flubba86@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

Search for "low-code app frameworks", there are a whole bunch, they fill the same niche now that Access once did (though these tend to be cloud based, not local sqlite). Baserow is a great open-source example.

[-] jubilationtcornpone@sh.itjust.works 3 points 10 months ago

Access is one of those programs that was a game changer in its day. Desktop databases became popular in the 80's for orgs that either couldn't afford or didn't need a mainframe.

All the other competing desktop database systems were slow to transition from MS-DOS to Windows and Access offered quite a few features that the others didn't have. Microsoft included Access with Office 95 and every office version thereafter. That pretty much wiped out the rest of the competition.

Access has just outlived it's usefulness. Better solutions exist now. Microsoft seems aware of that since they've done basically nothing to it since 2016. They're probably just keeping it around for the enterprise customers who are too stubborn to migrate off it yet.

[-] jordanlund@lemmy.world 7 points 10 months ago

I taught both Access and Filemaker back in the day. Once people got into it they really got into it!

[-] Reverendender@sh.itjust.works 4 points 10 months ago
load more comments (2 replies)
[-] Rhaedas@fedia.io 6 points 10 months ago

I ran into this working with a Fortune 500 company. I came into the job with an amateur experience with PHP and SQL, saw them trading around large amounts of daily info in Excel via email and the cloud and asked, why isn't this in a proper database? I was told it was how it's always been done and we couldn't change it. So I did it that way, muttering how stupid it was. A clear example of what DIDN'T have to be an email.

[-] TheRealKuni@piefed.social 5 points 10 months ago

Yup. I work in software that is used for blueprinting/designing, and also as a sales tool. So often the specs we get when asked to implement a new tool or product are, “Here’s the Excel sheet we use. Please make sure the software outputs to this Excel template.”

[-] Zapados@sh.itjust.works 3 points 10 months ago

Sounds like an easy win with the "No Errors Found"

[-] lIlIllIlIIIllIlIlII@lemmy.zip 30 points 10 months ago* (last edited 10 months ago)
- Delete Thumbs.db
- I can't
- Rename Thumbs.db to asdf
- Done
- Delete asdf
- Done

dafuk.jpg

[-] untorquer@lemmy.world 8 points 10 months ago

Turns or Rename creates a copy if insufficient permissions.

[-] RedSnt@feddit.dk 20 points 10 months ago* (last edited 10 months ago)

Idk if its a toxic trait to give solutions even though no help was asked for, but I always used Sysinternals Process Explorer to find the culprit. You just search for the file that "is open" by another program, and voila, you can see what you need to kill in order to delete said file.
I haven't had this problem on linux though.

[-] ayyy@sh.itjust.works 12 points 10 months ago

Which is what the error dialog should do for you. It does on Mac.

[-] ebolapie@lemmy.world 9 points 10 months ago

It isn't toxic to want to be helpful, especially on discussion boards like this. Someone who sees this post will get a benefit from your recommendation.

[-] DaddleDew@lemmy.world 15 points 10 months ago* (last edited 10 months ago)

Me: Hey Linux can you ________ ?

Linux: OK, I trust that you know what you're doing. It's on you if it breaks something.

That's how a computer should work.

[-] Devjavu@lemmy.dbzer0.com 10 points 10 months ago* (last edited 10 months ago)

rm -rf /

You sure?

Yes.

Okeee-

[-] stoy@lemmy.zip 7 points 10 months ago* (last edited 10 months ago)

Well no, that command won't work.

You need to run:

rm -rf / --no-preserve-root

[-] Devjavu@lemmy.dbzer0.com 6 points 10 months ago
  1. That is distribution specific.
  2. I'm not just gonna post a command like that so some idiot can paste it into their terminal to see what happens.
[-] stoy@lemmy.zip 14 points 10 months ago
  1. Ah, good to know!
  2. If they are running ramdom commands from the internet in a privileged terminal, then this will quickly stop them doing that.
[-] Devjavu@lemmy.dbzer0.com 7 points 10 months ago
  1. True that, I had not thought of that.
[-] NuclearDolphin@lemmy.ml 4 points 10 months ago

If they are running ramdom commands from the internet in a privileged terminal, then this will quickly stop them doing that.

does this

"omg Linux is not user friendly"

[-] deadbeef79000 4 points 10 months ago

rm -rf /

Were you sure?

Ah, yes, the classic UNIX confirmation prompt.

[-] omgboom@lemmy.dbzer0.com 8 points 10 months ago

Me: I'm going to remove the boot device

Linux: lol sure thing boss

[-] wizardbeard@lemmy.dbzer0.com 11 points 10 months ago* (last edited 10 months ago)

It's especially fun in corporate IT.

"What do you mean user: [me] already has it open? I've never been in this folder in life, and I just rebooted!"

Or when it says it's open by a former employee with a disabled account.

If it's on a network share, you also can't rely on the normal tricks with process monitor and the like to look for locks locally.

It's one thing I'll praise about using office documents with OneDrive and (Azure based) Sharepoint in a well configured corporate setting: Microsoft finally caught up to Google Doc's collaboration functionality, and it handles "merge conflicts" fairly well for other file types (add the machine name as a suffix to the file name, keep both copies, and give a big warning message).

[-] atomicbocks@sh.itjust.works 9 points 10 months ago

Sometimes if it was the last folder you had open the thumbnail file is still locked by explorer. Open a different folder with stuff in it then try deleting it again.

[-] kubica@fedia.io 7 points 10 months ago

This is why I have trust issues.

[-] mp3@lemmy.ca 8 points 10 months ago

Or

  • "oh I know which software is blocking it"
  • Can you close it?
  • "Nah, I ain't a snitch, go do it yourself"
[-] aramis87@fedia.io 4 points 10 months ago

In these situations, I use Unlocked to delete, move, rename, etc.

[-] AceFuzzLord@lemmy.zip 4 points 10 months ago

Had this exact same problem a few nights ago! I used BCUninstaller to remove msys2 and couldn't delete the empty directory tree because some mystery program was supposedly using the empty folders.

I have to check and see if I can delete it now that I remember to do it.

[-] AnnaFrankfurter@lemmy.ml 3 points 10 months ago

lsof : I got you bro

load more comments
view more: next ›
this post was submitted on 15 Nov 2025
831 points (99.5% liked)

People Twitter

10427 readers
274 users here now

People tweeting stuff. We allow tweets from anyone.

RULES:

  1. Mark NSFW content.
  2. No doxxing people.
  3. Must be a pic of the tweet or similar. No direct links to the tweet.
  4. No international politcs
  5. Be excellent to each other.
  6. Provide an archived link to the tweet (or similar) being shown if it's a major celebrity, figure or any politician. See stickied post https://web.archive.org/save is an option. Archive.is is no longer recommended because they remove/alter content.
  7. If a tweet (or similar) makes a statement of fact, either mark it as "satire" in the body or provide the original source link backing up the statement (see rule 6)

founded 3 years ago
MODERATORS