On 09/07/2025 13:04, Jeff Gaines wrote:
On 08/07/2025 in message <104ivre$3hrv8$[email protected]> John Rumm wrote:
A while back the topic of moving stuff from one windows PC to another
came up, so I have done an introductory article on the basics of doing
this:
https://wiki.diyfaq.org.uk/index.php/Moving_my_files_to_a_new_PC
As usual suggestions, corrections etc welcome...
Brilliant, couple of thoughts:
Sharing folders
net share Source="C:\Users\TargetUser" /grant:Support,FULL
icacls "C:\Users\TargetUser" /grant Support:(OI)(CI)F /T /C
The "net share" command will share the users folder on the the network. Replace "TargetUser" with the name of the user folder, e.g, C:\Users\John.
Perhaps should be:
Replace "TargetUser" with the name of the user e.g. John
Generally that would be true, however if you ever change the name of a
user, the name changes at the login page, but the profile folder name is
not updated. So there can be times where the user name will not match
the name of the folder.
Is it worth including the Windows GUI method of right clicking on a
drive or folder, selecting "Properties" then the "Sharing" tab?
You could do - but I tend to find the command line version is
significantly quicker, especially if you have to mess about in the gui
adding permissions for additional users.
(if you are just working on a personal lan and don't care about exposing
data to other users, you could just grant "Everyone" full read access)
It would be tempting to just enable guest access, but modern versions of
win11 now block access to shares without security on them[1]
Probably ought to do some screen grabs if describing the GUI approach...
Is it worth mentioning adding "Take Ownership" to the File Explorer
context menu?
I have not found the need as yet. All the main user folders are owned by
the user or can be set by an admin account. The only ones that tend to
fail are some of the app specific sub folders in the %AppData% and %LocalAppData% sections of the profile.
I think mentioning "Clonezilla" to Windows users may earn you a special
place in hell :-)
My favoured one is actually an old bootable USB stick With Acronis on
it. Usually fast and reliable, and can copy with changing partition
sizes on the fly as well as translating to GPT from MBR.
[1]
That kept me guessing for a bit, when that change was rolled out with a
windows update. I kept getting an error when attempting to connect to an
open network share and being told that the credentials were wrong with a
note at the bottom in red "You can't access this shared folder because
your organisation's security policies block unauthenticated guest access".
You can override the policy with (powershell):
Set-SmbClientConfiguration -EnableInsecureGuestLogons $true -Force
or CMD:
powershell -NoProfile -ExecutionPolicy Bypass -Command "Set-SmbClientConfiguration -EnableInsecureGuestLogons $true -Force"
--
Cheers,
John.
/=================================================================\
| Internode Ltd -
http://www.internode.co.uk | |-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk | \=================================================================/
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)