Italian (IT)

In Windows 7 and Windows 10, it happens that suddenly you logon with a temporary profile.
It happens when Windows encounters problems in the user profile.
Often the system will correct itself the problem and simply restart the computer to access normally; it can happen that the system doesn't retrieve the orginal profile.
In this case we can work manually in the Registry Editor.

When you need to create a symbolic link to a network drive like a local folder on computer, such as access to \\Server\Folder such as C:\Folder, you can creating a symbolic link from the command prompt with this line:

mklink /d C:\Folder \\Server\Folder

We can force the autologin when Windows starts, working on registry, even if the computer is in a domain.
From command prompt, you can type the following commands:

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d "1" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /t REG_SZ /d "DomainOrPcName" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t REG_SZ /d "UserName" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /t REG_SZ /d "MyPassword" /f
    

We need to be copied from folder to another, only the files created or modified after a certain date.
You can use a procedure from the command line.
For example, if we want to copy from the C:\MyFiles to the C:\RecentFiles folder all files changed after December 1, 2013 we write:

xcopy C:\MyFiles\. C:\RecentFiles\. /c/e/f/i/v/d:12-01-13
    

Sometimes we have to migrate the contents of a Ms SQL instance from one server to another.
Often we don't know the credentials of the single databases to be migrated.
Sometimes we need to create a second server, in line with the original, and change at the last minute the server name and instance name to make it identical to the previous.
Using some scripts we can easily make this.

If you see that WinSxS folder of your Windows installation takes up so much space and you're using Windows 7, you can free up a lot of space by folder maintenance with this command, launched from command prompt:

DISM /online /Cleanup-Image /SpSuperseded

This website uses cookies to ensure you get the best experience on our website.