Cum creez usb pentru instalare Windows pas cu pas

Instalare Windows pas cu pas 

SPEEDTEST

Speed test SSD-SATA vs SSD-NVMe

 

show wifi password

netsh wlan show profile name="pune aici nume wifi" key=clear | findstr Key

____________________________________________

daca vrei sa folosesti disktovhd sa faci imagine bootabila

floseste comanda:

mountvol B: /S 

inainte sa faci imaginea - asa faci ca disk to vhd sa vada si partitia de boot

____________________________________________

CMD - Show-Hide-DRIVE

___________________________________________

CMD - Sterge recent list si goleste recycle bin

cd %appdata%\Microsoft\Windows\Recent
del /Q *.*
rd /s /Q c:\$Recycle.Bin

________________________________________

cum sa schimbi ip la placa de wifi din cmd

netsh interface ipv4 set address name="Wi-Fi" static 192.168.3.8 255.255.255.0 192.168.3.1
netsh interface ipv4 set address name="Wi-Fi" source=dhcp

___________________________________________________________________________________________

cmd cum sa  faci zip la fiecare director in parte (trebuie instalat 7z)

d:
cd winment\data
for /d %%i in (*) do ("c%:\Program Files\7-Zip\7z.exe" u "P%:\BKP\%%i.zip" -up3 "D%:\WinMent\Data\%%i")

____________________________________________________

Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /RestoreHealth
SFC /scannow

__________________________________________________

cmd te duce la folderul de startup al windows-ului

run shell:startup

________________________

Schimba boot la UEFI

diskpart 

list disk
select disk 0
list volume
select volume 1
remove letter=c
assign letter=k
SELECT VOLUME 2
ASSIGN LETTER=C
SELECT VOLUME 1
FORMAT FS=FAT32 LABEL="BOOT"
EXIT

k:
md efi
cd efi
md microsoft
cd microsoft
md boot
cd boot
bootrec /fixboot
bcdboot c:\windows /l en-us /s k: /f  ALL
exit

_____________________________________

mesaj in fereastra

msg * /server:localhost "Gata am facut update!"

______________________________________________

cmd line - tweak-uri pt windows 10 

:: arata check box inaintea fisierelor
REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V AutoCheckSelect /T REG_DWORD /D 1 /F


::Pune iconita de ThisPC pe desktop (fostul My Computer) 
REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /V {20D04FE0-3AEA-1069-A2D8-08002B30309D} /T REG_DWORD /D 00000000 /F


::Ascunde recents 
REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /V ShowRecent /T REG_DWORD /D 00000000 /F


::Ascunde Frequent
REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /V ShowFrequent /T REG_DWORD /D 00000000 /F

 

:: 
REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /V {20D04FE0-3AEA-1069-A2D8-08002B30309D} /T REG_DWORD /D 00000000 /F

 

:: 
REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V TaskbarGlomLevel /T REG_DWORD /D 00000001 /F

 

:: 
REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V NavPaneExpandToCurrentFolder /T REG_DWORD /D 00000001 /F


::Arata extensia de la fisiere (by default e ascunsa) 
REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /V HideFileExt /T REG_DWORD /D 00000001 /F

taskkill /f /im explorer.exe
start explorer.exe

__________________________________________________

Cum sa atasezi un fisier vhdx 

diskpart
sel vdisk file="c:\win10.vhd"
attach vdisk


detach vdisk

___________________________________________________

cum faci backup la un windows instalat pe uefi 

disk2vhd nu vede partitia efi

rupezi in CMD as administrator

mountvol E: /S

unde E: este o litera libera

apoi rulezi disk2vhd si scoti bifa de la "use volume shadow copy" 

 poti pune fisierul VHDX intr-o masina virtuala cu Hyper-v

care poate fi instalat si pe windows 10 ( atentie sa ai activat in BIOS optiunea de virtual)

___________________________________________________________________________________________________________________

Cum sa faci mai multe conexiuni remote desktop pe windows 10 Pro

http://woshub.com/how-to-allow-multiple-rdp-sessions-in-windows-10/

gasesti aici in kit RDP-OneApp.reg si termsrv.zip

termsrv.dll trebuie sa-l pui in windows system32

trebuie preluate drepturile pentru fisier si sa opresti services rdp ca sa-l poti inlocui 

___________________________________________________________________________________________________________________

Cum sa activezi pornirea doar a unei aplicatii in remote desktop

  1. 1. We need to allow any unlisted programs to start from RDP.
    1.1 Save the script below on your desktop, the extension must end with .reg.
Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList]
    "fDisabledAllowList"=dword:00000001


       1.2 Right click on the file and click MergeYesOk.
 

  1. 2. Modifying our .rdp file.
    2.1 At the end of our file, add the following code:
remoteapplicationmode:i:1
remoteapplicationname:s:This will be the optional description of the app
remoteapplicationprogram:s:Relative or absolute path to the app
                           (Example: taskmgr or C:\Windows\system32\taskmgr.exe)
remoteapplicationcmdline:s:Here you'd put any optional application parameters

___________________________________________________________________________________________________________________

C:\ProgramData\AnyDesk

Sterge sau modifica numele fisierelor

service.conf si system.conf 

si vei primi un alt id 

______________________________________________________________________________

Cum sa faci auto login in 2022 windows 10 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device

Double-click on DevicePasswordLessBuildVersion and change its value to 0

______________________________________________________________________________