Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-10 > #35954
| From | VanguardLH <V@nguard.LH> |
|---|---|
| Newsgroups | alt.comp.os.windows-10 |
| Subject | Re: Is changing user like turning off the computer for USB drives? |
| Date | 2017-03-03 16:37 -0600 |
| Organization | Usenet Elder |
| Message-ID | <ehu9hqFqr21U1@mid.individual.net> (permalink) |
| References | <j1kibcpgufbmjpd9sbd92uklg1b52qmn31@4ax.com> |
micky wrote: > Maybe because it's a USB double dock but I can never get the drives in > the dock into Safely Remove state. > > So my question is, Is it enough to click on Change User and then > disconnect the drives? Is that as good as turning off the computer? > > I'd never used Change User until tonight, because i have only one user. > But I tried it tonight, and I expected I'd have to restart all the > programs. Boy was I surprised when everything was still running. So I > wondered, if I had unplugged the drives while no user was "using" it, > would that have imperiled the data on the drive? Are you plugging a USB2 device (double dock) into a USB3 port (on computer)? Some old USB2 devices don't provide the correct device type in their presentation data passed during handshaking that gets recorded in the registry as enumeration data. They specified the wrong device type. When I use Nirsoft's USBDeview, my USB HDD shows up as a "Mass storage" device under the Device Type column. It is enumerated in the registry under: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\Disk&Ven_WD&Prod_My_Passport_259D&Rev_1005\57584E314532363048544858&0 where the DeviceDesc data item has a value showing it is a "Disk drive" and is identified with the disk.inf definition file (as a generic disk drive) and the Class data item has a value of DiskDrive. When I go into Device Manager (devmgmt.msc), right-click on the USB drive under the "Disk drives" category node, select Properties, and look under the Policies tab, that drive is set to NOT cache writes to it (set for quick removal). Writes to the drive has them committed immediately, not pending in a buffer aka cache. When I use Nirsoft's USBDeview to look at the properties of this USB HDD, Capabilities include SupriseRemovalOK. Read these: https://www.cnet.com/how-to/quickly-remove-usb-devices-without-using-safe-removal/ https://www.howtogeek.com/118546/htg-explains-do-you-really-need-to-safely-remove-usb-sticks/ http://www.pcworld.com/article/254868/safely_remove_usb_drives_just_by_unplugging_them.html http://www.thewindowsclub.com/make-usb-external-media-perform-faster-windows According to the last article, Quick Removal is the default policy for USB drives -- unless you use NTFS (which incorporates a change journal for data recovery) -- so you don't have to waste time and mouse clicks to safely remove them before yanking them. Although the USB drive may be listed in the Safely Remove app, that doesn't mean you have to use it. Depends on the write caching policy configured for the device. I've tried using the Better Performance policy (use write caching) but never found that it produces any significant speedup in using the USB drive. Maybe it helps with r-e-a-l-l-y slow USB storage media. If there is a read to the pending write data then the cache has to get pushed anyway. I think what Paul mentioned was about having open file handles (locks) on files still inuse when trying to eject or safely remove the drive. That's not the same as pending writes in an OS buffer. Perhaps the Safely Remove icon is hidden in the taskbar tray. Did you check the hidden icons (the ones you have to click the chevron in the tray area to see)? When I go to the Control Panel -> Notification Area Icons applet, the entry is listed as "Windows Explorer" with greyed text saying "Safely Remove Hardware and Eject Media". I configured that icon to "only show notifications" which means it is hidden. I don't want it occupying a slot in the tray. How are YOU trying to get the drives in the safe remove state? Are you right-clicking on the drive shown in Windows Explorer and using Eject? Is the USB drive not listed in the Safely Remove Hardware wizard? Run: %windir%\System32\control.exe hotplug.dll or C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL hotplug.dll if it is not already available as a [hidden] tray icon. Even quick removal policied USB drives should show up in that list. As to your question, Change User is Windows attempt at multi-user support. It leaves loaded in memory everything that was running in your Windows account while loading the userprofile for another Windows account which will load more stuff into memory (so you will run out of memory faster). The first account (you switch away from) is suspended (not unloaded) while you load the second account. Some programs don't support multi-user mode and will error, misbehave, or worse if you try to run them concurrently in multiple Windows accounts. What you are asking about is Fast User Switching (FUS) that was introduced back in Windows XP. https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fast_user_switching.mspx https://www.howtogeek.com/howto/windows/disable-fast-user-switching-on-windows-xp/ http://www.addictivetips.com/windows-tips/how-to-enable-disable-fast-user-switching-in-windows-xp-and-windows-vista/ https://www.bleepingcomputer.com/tutorials/disable-fast-user-switching-in-windows/ All policies are registry entries (and how you can alter those pushed when connecting within a domain as long as your Windows account has local admin privs to undo global policies that the IT folks agree is okay for you to circumvent). The Home editions of Windows do not come with a policy editor. The last article shows the registry entry you create to enable/disable FUS. This is a global setting (under the HKLM hive) so enabling/disabling it means effecting the change for all users. I don't use FUS so I don't have to bother disabling it. If multiple users had separate Windows accounts on the same host, I might disable it to prevent them from reporting problems, like lack of system memory, due to using FUS.
Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is changing user like turning off the computer for USB drives? micky <NONONOmisc07@bigfoot.com> - 2017-03-03 06:19 -0500
Re: Is changing user like turning off the computer for USB drives? Paul <nospam@needed.invalid> - 2017-03-03 06:35 -0500
Re: Is changing user like turning off the computer for USB drives? micky <NONONOmisc07@bigfoot.com> - 2017-03-03 07:25 -0500
Re: Is changing user like turning off the computer for USB drives? Paul <nospam@needed.invalid> - 2017-03-03 08:16 -0500
Re: Is changing user like turning off the computer for USB drives? micky <NONONOmisc07@bigfoot.com> - 2017-03-03 16:27 -0500
Re: Is changing user like turning off the computer for USB drives? "Buffalo" <phoney@physco.invalid.net> - 2017-03-03 15:25 -0700
Re: Is changing user like turning off the computer for USB drives? Paul <nospam@needed.invalid> - 2017-03-03 18:10 -0500
Re: Is changing user like turning off the computer for USB drives? micky <NONONOmisc07@bigfoot.com> - 2017-03-04 12:14 -0500
Re: Is changing user like turning off the computer for USB drives? Paul <nospam@needed.invalid> - 2017-03-04 18:12 -0500
Re: Is changing user like turning off the computer for USB drives? burfordTjustice <burfordTjustice@tues.uk> - 2017-03-03 07:32 -0500
Re: Is changing user like turning off the computer for USB drives? VanguardLH <V@nguard.LH> - 2017-03-03 16:37 -0600
Re: Is changing user like turning off the computer for USB drives? micky <NONONOmisc07@bigfoot.com> - 2017-03-04 12:54 -0500
Re: Is changing user like turning off the computer for USB drives? VanguardLH <V@nguard.LH> - 2017-03-04 18:08 -0600
Re: Is changing user like turning off the computer for USB drives? micky <NONONOmisc07@bigfoot.com> - 2017-03-04 13:17 -0500
Re: Is changing user like turning off the computer for USB drives? micky <NONONOmisc07@bigfoot.com> - 2017-03-04 13:50 -0500
Re: Is changing user like turning off the computer for USB drives? VanguardLH <V@nguard.LH> - 2017-03-04 17:36 -0600
Re: Is changing user like turning off the computer for USB drives? micky <NONONOmisc07@bigfoot.com> - 2017-03-05 01:26 -0500
csiph-web