November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

disable ipv6 on windows

MySQL client fails to connect to localhost on Windows, due to IPv6 A MySQL client running on Windows 2008 or Windows 7 may fail to connect to the host name of “localhost”. This is due to windows resloving the host name of localhost to the IPv6 loopback address of ::1. Windows will resolve localhost to […]

5 Improved Windows Server 2012 Features

Windows Server 2012 is loaded with new features–300 of them, according to Microsoft. But, it isn’t all about new features; improvements and upgrades to existing features have people everywhere talking about Windows Server 2012. Let’s jump right in and look at what makes IT departments ready to roll out Server 2012.

Interface

Windows Server 2012 […]

Repairing Windows 2012 R2 Startup

Method 1: =============== 1. Put the Windows Server 2012 R2 installation disc into the disc drive, and then start the computer. 2. Press a key when the message indicating “Press any key to boot from CD or DVD …”. appears. 3. Select a language, a time, a currency, and a keyboard or another input method, […]

POODLE = Padding Oracle On Downgraded Legacy Encryption

POODLE = Padding Oracle On Downgraded Legacy Encryption

B.E.A.S.T (Browser Exploit Against SSL TLS) Affected systems: Netscape 3.0 ssl tls Netscape affected system: tls Netscape 1.2 Netscape 1.1 tls tls Netscape 1.0 Description: CVE (CAN) ID: CVE-2014-3566

SSL3.0 is obsolete and no security protocol, has been TLS 1.0, TLS 1.1, TLS 1.2 substitution, for compatibility […]

Logoff user remote session using CMD

 

Using CMD to kick user not properly logoff in remote session. This command to list out the user. Have 2 command :

1 – quser /SERVER : [server name]

2 – qwinsta /SERVER : [server name] This command to kick the user :

1 – logoff /SERVER : [server name] [session id] Example :

[…]

Windows 2012 Command

taskmgr regedit timedate.cpl intl.cpl sconfig.cmd

get-process

diskpart

Install DHCP SERVER Using PowerShell

PS C:\Users\Administrator> get-command -Module servermanager

CommandType Name ModuleName ———– —- ———- Alias Add-WindowsFeature ServerManager Alias Remove-WindowsFeature ServerManager Function Disable-ServerManagerStandardUserRemoting ServerManager Function Enable-ServerManagerStandardUserRemoting ServerManager Cmdlet Get-WindowsFeature ServerManager Cmdlet Install-WindowsFeature ServerManager Cmdlet Uninstall-WindowsFeature ServerManager

PS C:\Users\Administrator> Add-WindowsFeature -IncludeAllSubFeature -Name DHCP, RSAT-DHCP

Success Restart Needed […]

determine my user account’s OU in a Windows domain?

How can I determine my user account’s OU in a Windows domain?

set objSysInfo = CreateObject(“ADSystemInfo”)

set objUser = GetObject(“LDAP://” & objSysInfo.UserName)

wscript.echo “DN: ” & objUser.distinguishedName

gpresult /r

gpresult -v|more

Reasons ReFS

Resilient File System (ReFS) is a new file system introduced in Windows Server 2012. Initially, it is being targeted for implementation as a file system that is primarily used for file servers. However, starting as the file system for a file server is just the beginning. Like its predecessor, NTFS, ReFS will begin as a […]

PowerShell To Add IP Address

Setting an IP address PS C:\Users\Administrator> Get-NetAdapter

Name InterfaceDescription ifIndex Status MacAddress LinkSpeed —- ——————– ——- —— ———- ——— Ethernet0 Intel(R) 82574L Gigabit Network Conn… 12 Up 00-0C-29-3C-C0-2F 1 Gbps PS C:\Users\Administrator> Get-NetIPAddress -InterfaceIndex 12 -AddressFamily IPv4

 

To add the IP address use:

New-NetIPAddress -InterfaceIndex 12 -AddressFamily IPv4 -IPAddress 192.168.1.9 -PrefixLength 24

PowerShell to Shutdown Windows Server 2012

Launch PowerShell, type stop then tab, you should see Stop-Computer. If this flashy technique does not work, then just type this one simple command long-hand:

# PowerShell command to shutdown Windows Server 2012

Stop-Computer

 

shutdown utility. However, there is a little known switch to bring-up a GUI version of this command line utility.

# […]