1221

This is Microsoft’s latest annoying addition to Windows.

(page 2) 50 comments
sorted by: hot top controversial new old
[-] Matriks404@lemmy.world 17 points 1 year ago

It really blows my mind that somehow most popular services/software is at state worse than 10-15 years ago, what the fuck happened? This shit is what is making me move to other interests/hobbies than technology-related stuff.

[-] ubermeisters@lemmy.world 17 points 1 year ago* (last edited 1 year ago)

USER: powershell script to force close OneDrive, without on screen popups for any reason.

CoPilot: Sure, here's a simple PowerShell script that can be used to force close OneDrive without any on-screen popups:

# Get the process id of OneDrive
$OneDrivePID = (Get-Process -Name "OneDrive").Id

# Force stop the OneDrive process
Stop-Process -Id $OneDrivePID -Force

This script first retrieves the process ID of OneDrive and then uses the Stop-Process cmdlet to forcefully stop it. Please note that forcefully stopping a process might cause data loss or corruption, so use this script with caution.

Also, running scripts in PowerShell might require administrative privileges. If you encounter any issues, try running PowerShell as an administrator.

Disclaimer: This script is provided as is, without warranty of any kind. Use of this script is at your own risk and responsibility. Microsoft assumes no responsibility for any damage or loss caused by the use or misuse of this script. Always ensure you have a backup of your data.


USER: Powershell command to write the above script to a new batch file on current windows user's desktop, Titled "OneDriveBEGONE.bat"

Copilot: Sure, here's a PowerShell command that writes the script to a new batch file on the current Windows user's desktop, titled "OneDriveBEGONE.bat":

# Define the script content
$scriptContent = @"
@echo off
powershell -Command "& {Get-Process -Name 'OneDrive' | Stop-Process -Force}"
"@

# Get the path to the current user's desktop
$desktopPath = [Environment]::GetFolderPath("Desktop")

# Define the full path for the new batch file
$batchFilePath = Join-Path -Path $desktopPath -ChildPath "OneDriveBEGONE.bat"

# Write the script content to the new batch file
$scriptContent | Out-File -FilePath $batchFilePath

This script first defines the content of the batch file, which is a command to force stop the OneDrive process. It then gets the path to the current user's desktop and defines the full path for the new batch file. Finally, it writes the script content to the new batch file.

Please note that running scripts in PowerShell might require administrative privileges. If you encounter any issues, try running PowerShell as an administrator.

Disclaimer: This script is provided as is, without warranty of any kind. Use of this script is at your own risk and responsibility. Microsoft assumes no responsibility for any damage or loss caused by the use or misuse of this script. Always ensure you have a backup of your data.


the

amp;

in the bottom script needs to be deleted if you're going to use this... just markdown format things..

load more comments (2 replies)
[-] Knightfox@lemmy.one 16 points 1 year ago

I have Windows 10, so things may be different for 11 or whatever version you're on, but can't you just uninstall OneDrive without specifically closing it? I feel like that's what I did when it was default installed.

[-] Gestrid@lemmy.ca 12 points 1 year ago

I recently bought a new computer (left the old one in my car by mistake, and the outdoor heat caused the plastic casing to expand) and moved all my old files over to the new one. Somehow, it ended up sticking a bunch of my files (Desktop, Documents, etc.) in my OneDrive (which was setup without any confirmation that I'd like to use it). I had to create a brand new profile that wasn't linked to a Microsoft account on my brand new computer and move everything over just to fix the issue.

load more comments (9 replies)
[-] joker125@lemmy.world 12 points 1 year ago

Microsoft isn't friendly with the whole forced SaaS thingy.

[-] CassowaryTom@lemmy.one 12 points 1 year ago

I dont think thats new. I havent fucked with windows in like 3 years and I remember also being annoyed by that.

[-] autotldr@lemmings.world 11 points 1 year ago

This is the best summary I could come up with:


Microsoft now wants you to explain exactly why you’re attempting to close its OneDrive for Windows app before it allows you to do so.

Neowin has spotted that the latest update to OneDrive now includes an annoying dialog box that asks you to select the reason why you’re closing the app every single time you attempt to close OneDrive from the taskbar.

Microsoft has been pushing OneDrive in Windows for years, with it taking over the Documents and Pictures libraries in Windows 11 by default to sync files to Microsoft’s cloud-powered storage.

This new behavior follows years of Microsoft’s demanding Edge prompts that appear if you dare to download Chrome or change your default browser.

Hopefully, Microsoft won’t start injecting a poll at shutdown demanding to know why I’m turning my PC off for the day.

If you want to avoid this latest OneDrive nonsense, then feel free to open Task Manager, search for Microsoft OneDrive, and end that task the old-school way.


The original article contains 306 words, the summary contains 163 words. Saved 47%. I'm a bot and I'm open source!

[-] Mereo@lemmy.ca 11 points 1 year ago* (last edited 1 year ago)

Thank god I switched to Linux on my Desktop. And I also have a Macbook and I love it. I guess I can consider myself a Unix guy.

[-] jsh@sh.itjust.works 11 points 1 year ago
load more comments (1 replies)
[-] UxyIVrljPeRl@lemmy.world 10 points 1 year ago

Anyone else getting the Game Pass add on lockscreen? Since last week my work computer tells me game pass is 1 Buck

load more comments (2 replies)
load more comments
view more: ‹ prev next ›
this post was submitted on 09 Nov 2023
1221 points (98.3% liked)

Technology

59710 readers
2378 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS