Tuesday, November 18, 2014

Windows Chekclist

Enable Remote:
cd C:\windows\system32
cscript SCregEdit.wsf /AR 0

Change HOSTNAME:
wmic computersystem where name="OLDNAME" call rename name="NEWNAME"

Enable hibernate:
>powercfg /h on

Installing selfsign:
>net use m: \\10.193.150.40\<selfsign>
M:> cd selfsign
>Addcert.bat

Enable Debug:
C:\Users\balakrishna>net use y: \\10.193.180.100\public
The command completed successfully.
Y:> enablereg.reg

Need a reboot

Installing Driver:
pnputil.exe -i –a <Driver INF Name>

Example:
pnputil.exe -i –a cht4vx64.inf

Installing client from cmd line
\\10.193.150.41\HCKInstall\Client\setup.exe /qn /install ICFAGREE=Yes

To Turn Off:
    NetSh Advfirewall set allprofiles state off
    To Turn On:
    NetSh Advfirewall set allrprofiles state on
    To check the status of Windows Firewall:
    Netsh Advfirewall show allprofiles

Enable network debug:

 bcdedit /set testsigning yes
 bcdedit /dbgsettings
 bcdedit /debug on
 bcdedit /dbgsettings net hostip:10.193.204.31 port:60005 key:b.a.l.a
 bcdedit /set "{dbgsettings}" busparams 3.0.0
 netsh advfirewall set allprofiles state off

No comments: