D4G33M4N




D4G33M4N
Search:
Links | Other


www.infotech.com https://clients.qs-r.com http://bartonccc.edu/prospective/collegelife/oncampussvcs/cdc.html

  • Useful Commands
wuauclt.exe /detectnow = forces windows update
gpupdate /force = forces group policy to update
gpresult = displays enforced/denied group policies
sc = command to communicate with NT Service Contoller and Services
tasklist = command to list running programs
taskkill = command to kill running program
net start = command to list running windows services
pspasswd = changes local account password
(pspasswd \\192.168.127.xxx administrator PASSWORD)
psexec = runs command remotely
(psexec -c \\192.168.127.xxx gpupdate /force)
(psexec @iplist.txt net localgroup administrators > localadminresults.txt)
(psexec \\192.168.127.xxx -u cbh\user -p pass cmd -i)
net config server /hidden:yes|no
netdom = renames computer on domain
(netdom renamecomputer MACHINE /newname:NEW_PC_NAME /userd:cbh\isadmin /passwordd:* /usero:administrator /passwordo:* /reboot:10)
runas = runas /user:LOCALPCNAME\lpadmin "C:\PATH TO PROGRAM"
Need to create local pc account lpadmin and add to admin group locally
  • Registry Keys
Profile List Key = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
RDP Color Depth = HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\ColorDepth
Set to 4 on guest and reboot to gain 24-bit color RDP.
Make the changes effective immediately after running in batch file with "reg add" or "reg delete"
\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters

Miscellaneous


Page last modified on October 10, 2023, at 10:33 AM CST