Solved Post Clean install issues: OneDrive etc.


My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 (22631.3296).
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron i5 5510
    CPU
    core i7 11th gen
    Memory
    16 GB DDR4 @3200 MHz
    Hard Drives
    1 TB SSD M.2 NVMe
    Keyboard
    Dell Premier Multi-Device Wireless Keyboard and Mouse – KM7321W
    Browser
    Brave.
    Other Info
    Edifier speakers. (Thanks to @Edwin).
  • Operating System
    W11
    Computer type
    PC/Desktop
    Manufacturer/Model
    XPS Special Edition
    CPU
    11th Gen Intel® Core i7-11700 processor
    Memory
    32 GB, 2 x 16 GB, DDR4, 2933 MHz, dual channel
    Graphics card(s)
    NVIDIA GeForce RTX 3060 12GB GDDR6
    Hard Drives
    2TB M.2 PCIe NVMe SSD
@garlin , if memory serves right are you a NTLite expert? :unsure:

Thanks.
My cover is blown.

You can remove OneDrive app with PowerShell's "Get-AppxPackage Microsoft.MicrosoftSkyDrive | Remove-AppxPackage"
To block WU from sneaking OneDrive client back on your system, add this line to HOSTS:

127.0.0.1 oneclient.sfx.ms
 

My Computer

System One

  • OS
    Windows 7
My cover is blown.

You can remove OneDrive app with PowerShell's "Get-AppxPackage Microsoft.MicrosoftSkyDrive | Remove-AppxPackage"
To block WU from sneaking OneDrive client back on your system, add this line to HOSTS:

What do you imply by cover being blown?

I had heard about @garlin , the NTLite expert, guru o_O...…..are you the same person/member? :confused:


I have disabled One Drive using task manager > startup.

Should I do what you have posted.....?

You can remove OneDrive app with PowerShell's "Get-AppxPackage Microsoft.MicrosoftSkyDrive | Remove-AppxPackage"
To block WU from sneaking OneDrive client back on your system, add this line to HOSTS:
127.0.0.1 oneclient.sfx.ms

Thanks.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 (22631.3296).
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron i5 5510
    CPU
    core i7 11th gen
    Memory
    16 GB DDR4 @3200 MHz
    Hard Drives
    1 TB SSD M.2 NVMe
    Keyboard
    Dell Premier Multi-Device Wireless Keyboard and Mouse – KM7321W
    Browser
    Brave.
    Other Info
    Edifier speakers. (Thanks to @Edwin).
  • Operating System
    W11
    Computer type
    PC/Desktop
    Manufacturer/Model
    XPS Special Edition
    CPU
    11th Gen Intel® Core i7-11700 processor
    Memory
    32 GB, 2 x 16 GB, DDR4, 2933 MHz, dual channel
    Graphics card(s)
    NVIDIA GeForce RTX 3060 12GB GDDR6
    Hard Drives
    2TB M.2 PCIe NVMe SSD
My cover is blown.

You can remove OneDrive app with PowerShell's "Get-AppxPackage Microsoft.MicrosoftSkyDrive | Remove-AppxPackage"
To block WU from sneaking OneDrive client back on your system, add this line to HOSTS:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! Migrating from Windows PowerShell 5.1 to PowerShell 7 - PowerShell

PS C:\WINDOWS\system32> Get-AppxPackage Microsoft.MicrosoftSkyDrive | Remove-AppxPackage
PS C:\WINDOWS\system32>


How to add line to HOSTS?

Thanks.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 (22631.3296).
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron i5 5510
    CPU
    core i7 11th gen
    Memory
    16 GB DDR4 @3200 MHz
    Hard Drives
    1 TB SSD M.2 NVMe
    Keyboard
    Dell Premier Multi-Device Wireless Keyboard and Mouse – KM7321W
    Browser
    Brave.
    Other Info
    Edifier speakers. (Thanks to @Edwin).
  • Operating System
    W11
    Computer type
    PC/Desktop
    Manufacturer/Model
    XPS Special Edition
    CPU
    11th Gen Intel® Core i7-11700 processor
    Memory
    32 GB, 2 x 16 GB, DDR4, 2933 MHz, dual channel
    Graphics card(s)
    NVIDIA GeForce RTX 3060 12GB GDDR6
    Hard Drives
    2TB M.2 PCIe NVMe SSD
Open a CMD shell as Administrator. "notepad C:\Windows\System32\drivers\etc\hosts"
Copy/paste.
Microsoft Windows [Version 10.0.22621.608]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\System32>C:\Windows\System32\drivers\etc\hosts
'C:\Windows\System32\drivers\etc\hosts' is not recognized as an internal or external command,
operable program or batch file.

C:\Windows\System32>notepad C:\Windows\System32\drivers\etc\hosts

C:\Windows\System32>127.0.0.1 oneclient.sfx.ms
'127.0.0.1' is not recognized as an internal or external command,
operable program or batch file.


C:\Windows\System32>


This wont get executed....

127.0.0.1 oneclient.sfx.ms






# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost


How do I run it in command prompt?
Thanks.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 (22631.3296).
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron i5 5510
    CPU
    core i7 11th gen
    Memory
    16 GB DDR4 @3200 MHz
    Hard Drives
    1 TB SSD M.2 NVMe
    Keyboard
    Dell Premier Multi-Device Wireless Keyboard and Mouse – KM7321W
    Browser
    Brave.
    Other Info
    Edifier speakers. (Thanks to @Edwin).
  • Operating System
    W11
    Computer type
    PC/Desktop
    Manufacturer/Model
    XPS Special Edition
    CPU
    11th Gen Intel® Core i7-11700 processor
    Memory
    32 GB, 2 x 16 GB, DDR4, 2933 MHz, dual channel
    Graphics card(s)
    NVIDIA GeForce RTX 3060 12GB GDDR6
    Hard Drives
    2TB M.2 PCIe NVMe SSD
You know. Copy the new entry to Notepad, then save. :oops:
 

My Computer

System One

  • OS
    Windows 7
You know. Copy the new entry to Notepad, then save. :oops:

At which point...…..:confused:


# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost



Thanks.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 (22631.3296).
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron i5 5510
    CPU
    core i7 11th gen
    Memory
    16 GB DDR4 @3200 MHz
    Hard Drives
    1 TB SSD M.2 NVMe
    Keyboard
    Dell Premier Multi-Device Wireless Keyboard and Mouse – KM7321W
    Browser
    Brave.
    Other Info
    Edifier speakers. (Thanks to @Edwin).
  • Operating System
    W11
    Computer type
    PC/Desktop
    Manufacturer/Model
    XPS Special Edition
    CPU
    11th Gen Intel® Core i7-11700 processor
    Memory
    32 GB, 2 x 16 GB, DDR4, 2933 MHz, dual channel
    Graphics card(s)
    NVIDIA GeForce RTX 3060 12GB GDDR6
    Hard Drives
    2TB M.2 PCIe NVMe SSD
Technically anywhere. But everyone adds lines to the bottom of the file. "#" = comment line
 

My Computer

System One

  • OS
    Windows 7
Technically anywhere. But everyone adds lines to the bottom of the file. "#" = comment line

Like this or care to correct?

What after that, save it to notepad? Rerun command prompt to check anything?

Thanks.


# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

"#" =127.0.0.1 oneclient.sfx.ms
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 (22631.3296).
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron i5 5510
    CPU
    core i7 11th gen
    Memory
    16 GB DDR4 @3200 MHz
    Hard Drives
    1 TB SSD M.2 NVMe
    Keyboard
    Dell Premier Multi-Device Wireless Keyboard and Mouse – KM7321W
    Browser
    Brave.
    Other Info
    Edifier speakers. (Thanks to @Edwin).
  • Operating System
    W11
    Computer type
    PC/Desktop
    Manufacturer/Model
    XPS Special Edition
    CPU
    11th Gen Intel® Core i7-11700 processor
    Memory
    32 GB, 2 x 16 GB, DDR4, 2933 MHz, dual channel
    Graphics card(s)
    NVIDIA GeForce RTX 3060 12GB GDDR6
    Hard Drives
    2TB M.2 PCIe NVMe SSD

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3374 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
A 2.5" SSD is 4" x 2.75" x 1/4" ...like a slightly oversized credit card.

Gotta wonder what MS's motivation is for offering free cloud storage. ^^

Probably for marketing. They're rich, they can afford to give it away.
Maybe.

I can also think of about 5 "other" reasons as well.
Give me your 5 reasons. I happen to like OneDrive.
 

My Computer

System One

  • OS
    Win11/10 Dual Boot
    Computer type
    Laptop
    Manufacturer/Model
    HP ENVY
    CPU
    i5 Core 7200U@2.50GHz
    Motherboard
    HP 81AD (U3E1)
    Memory
    12GB
    Graphics Card(s)
    Generic PnP Monitor (1920x1080@60Hz) Intel HD Graphics 620 (HP)
    Sound Card
    Conexant ISST audio
    Monitor(s) Displays
    Generic PnP Monitor
    Screen Resolution
    1536x864 pixels
    Hard Drives
    HGST HTS721010A9E630
    Mouse
    Logitec Anywhere 2
    Internet Speed
    Good enough for me!
    Browser
    Firefox/Edge
    Antivirus
    Windows Defender and Malwarebytes
I performed this as @garlin , recommended:


# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

127.0.0.1 oneclient.sfx.ms



Than this:

> nslookup oneclient.sfx.ms


Than this:

ipconfig /flushdns



Then:

"ping -s oneclient.sfx.ms"

- should read 127.0.0.1, CTRL-C to stop it.



BUT I am getting these results, NOT what he wanted or was expecting... :confused:



Microsoft Windows [Version 10.0.22621.608]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\System32>ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

C:\Windows\System32>


C:\Windows\System32>ping -s oneclient.sfx.ms
Bad value for option -s, valid range is from 1 to 4.


C:\Windows\System32>



Any experts kindly have a look. :-)

Thanks.




PS: What's the reasoning, tech. logic for running all these commands? :cautious:
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 (22631.3296).
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron i5 5510
    CPU
    core i7 11th gen
    Memory
    16 GB DDR4 @3200 MHz
    Hard Drives
    1 TB SSD M.2 NVMe
    Keyboard
    Dell Premier Multi-Device Wireless Keyboard and Mouse – KM7321W
    Browser
    Brave.
    Other Info
    Edifier speakers. (Thanks to @Edwin).
  • Operating System
    W11
    Computer type
    PC/Desktop
    Manufacturer/Model
    XPS Special Edition
    CPU
    11th Gen Intel® Core i7-11700 processor
    Memory
    32 GB, 2 x 16 GB, DDR4, 2933 MHz, dual channel
    Graphics card(s)
    NVIDIA GeForce RTX 3060 12GB GDDR6
    Hard Drives
    2TB M.2 PCIe NVMe SSD
What do you imply by cover being blown?

I had heard about @garlin , the NTLite expert, guru o_O...…..are you the same person/member? :confused:


I have disabled One Drive using task manager > startup.

Should I do what you have posted.....?

You can remove OneDrive app with PowerShell's "Get-AppxPackage Microsoft.MicrosoftSkyDrive | Remove-AppxPackage"
To block WU from sneaking OneDrive client back on your system, add this line to HOSTS:
127.0.0.1 oneclient.sfx.ms

Thanks.
I would not do this, as one thing is sure if you ever need to bring it back in future, you will scratch your head wondering why it is not working until you remember the HOSTS edit.

I often uninstall it on my Insider vms just to prevent unwanted syncing, and I rarely use it in my vms anyway. It is easy enough to just copy file to/from host OS onedrive in Hyper-V enhanced mode.

I have never seen it be reinstalled once uninstalled even with build upgrades (and I have done a lot). In any case, it only takes a few seconds to uninstall again if it ever spuriously reappears.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Simply what should I do.....I had some apprehensions.

@garlin , doesn't respond to the values (not what he wanted)/error being displayed?

Is it really an error? :confused:

C:\Windows\System32>ping -s oneclient.sfx.ms
Bad value for option -s, valid range is from 1 to 4.

C:\Windows\System32>
My answer has not changed - I would not bother. It does not really add much, and even if onedrive comes back - easy to uninstall again.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 (22631.3296).
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron i5 5510
    CPU
    core i7 11th gen
    Memory
    16 GB DDR4 @3200 MHz
    Hard Drives
    1 TB SSD M.2 NVMe
    Keyboard
    Dell Premier Multi-Device Wireless Keyboard and Mouse – KM7321W
    Browser
    Brave.
    Other Info
    Edifier speakers. (Thanks to @Edwin).
  • Operating System
    W11
    Computer type
    PC/Desktop
    Manufacturer/Model
    XPS Special Edition
    CPU
    11th Gen Intel® Core i7-11700 processor
    Memory
    32 GB, 2 x 16 GB, DDR4, 2933 MHz, dual channel
    Graphics card(s)
    NVIDIA GeForce RTX 3060 12GB GDDR6
    Hard Drives
    2TB M.2 PCIe NVMe SSD
A 2.5" SSD is 4" x 2.75" x 1/4" ...like a slightly oversized credit card.

Gotta wonder what MS's motivation is for offering free cloud storage. ^^

Probably for marketing. They're rich, they can afford to give it away.
Maybe.

I can also think of about 5 "other" reasons as well.
Cloud services like Dropbox have been around for a long time and always offered a free quota to market their tool. Onedrive (in its present form is more recent). If MS did not offer a similar free quota, they would be at a marketing disadvantage.

Onedrive is a handy tool even with only 5 GB e.g. to use it as a means of transferring documents too big to be sent by email for example. Historically DropBox even was more designed for this purpose. It is only later as internet speeds became much faster, it became more practical to be used as bulk storage.

I am always slightly bemused by the ferocity of some anti-Onedrive recidivists as if it is a tool of Satan and must be removed at all costs.
Do they apply the same ferocity to 3rd parties like Dropbox or is it just "I hate MS"?
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook

Latest Support Threads

Back
Top Bottom