Lapas

otrdiena, 2017. gada 19. decembris

Remote Desktop Connection - How to get the certificate prompt back?

Delete server connection keys from here:
HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers
HKCU\Software\Microsoft\Terminal Server\Client\LocalDevices\<name>

piektdiena, 2017. gada 18. augusts

Export Putty settings

regedit /e "%USERPROFILE%\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham

pirmdiena, 2017. gada 3. jūlijs

Identify Windows 10 installation media build

Run Command Prompt as administrator
adism /Get-WimInfo /WimFile:F:\sources\install.esd /index:1

piektdiena, 2017. gada 30. jūnijs

Windows 10 lock screen picture file location

If you want to save some Windows Spotlight picture - open the folder:
C:\Users\<User>\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets\

Look for the files with current date greater than 400KB.
Open files with MSPaint to find the exact one. Save it to *.jpg

Change AD user profile path

1. Find users SID:
wmic useraccount where name="USER" get sid

2. Open in regedit key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\User SID

3. Modify ProfileImagePath value

otrdiena, 2017. gada 24. janvāris

Delete old computers from Active Directory

Get list of inactive computer for 4 weeks:
dsquery computer –inactive 4

Source: portal.sivarajan.com

trešdiena, 2017. gada 4. janvāris

Change Office 365 sign-in name for AD synced user

To change Office 365 sign-in (Principal) name for user synced with Onsite AD:
  1. Start PowerShell
  2. Make sure the Microsoft Online module is loaded
  3. Execute the following command:
set-msoluserprincipalname -newuserprincipalname newuser@emailaddress.com -userprincipalname user@emailaddress.com.

Source: msonlinehelpdesk.zendesk.com