10 Ocak 2018 Çarşamba
Disable Java auto updater script
dim wsh
set wsh = createobject("WScript.Shell")
wsh.run("REG.EXE DELETE ""HKLM\SOFTWARE\JavaSoft\Java Update"" /f")
wsh.run("REG.EXE DELETE ""HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"" /v SunJavaUpdateSched /f")
wsh.run("REG.EXE DELETE ""HKLM\SOFTWARE\WOW6432Node\JavaSoft\Java Update"" /f")
wsh.run("REG.EXE DELETE ""HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run"" /v SunJavaUpdateSched /f")
set wsh = nothing
JAVA Direct connection to Internet without Proxy Batch
Windows 7-8-10
(
(echo(deployment.proxy.type=0)
)>>"%userprofile%\AppData\LocalLow\Sun\Java\Deployment\deployment.properties"
Windows XP
(
(echo(deployment.proxy.type=0)
)>>"%userprofile%\Application Data\Sun\Java\Deployment\deployment.properties"
Clear All Windows EventLog
You can apply the extension by rotating * .bat.
@echo off
FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
IF (%adminTest%)==(Access) goto noAdmin
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
echo.
echo Event Logs have been cleared!
goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
echo You must run this script as an Administrator!
echo.
:theEnd
@echo off
FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
IF (%adminTest%)==(Access) goto noAdmin
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
echo.
echo Event Logs have been cleared!
goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
echo You must run this script as an Administrator!
echo.
:theEnd
8 Ağustos 2016 Pazartesi
Windows Server 2016 Lisanslama
Microsoft Windows Server 2016 işletim sistemi ile birlikte, lisans ücretlendirmesini de çekirdek seviyesine indiriyor.
Windows Server 2012 R2 sürümünden bu yana sunucularda kullandıkları işlemci başına lisans bedeli ödeniyordu. Windows Server 2016 işletim sistemi ile birlikte işlemci ve çekirdek başına belirlenmiş yeni bir ücretlendirme hayata geçirilecek.
Örneğin çift çekirdekli bir işlemci ile çalışan sunucunun en az 8 çekirdekli lisans bedeline başvurması gerekiyor. Veya 2 çekirdekli 4 adet işlemci ile çalışan sunucuların en az 16 çekirdek lisansını satın alması gerekiyor.
Bununla birlikte 8 çekirdekli 4 adet işlemci ile çalışan sunucular 16 çekirdek lisansı öderken, 40 veya daha fazla çekirdekle çalışan sunucularda ekstra ücretlendirme olacak.
Windows Server 2012 R2 sürümünden bu yana sunucularda kullandıkları işlemci başına lisans bedeli ödeniyordu. Windows Server 2016 işletim sistemi ile birlikte işlemci ve çekirdek başına belirlenmiş yeni bir ücretlendirme hayata geçirilecek.
Örneğin çift çekirdekli bir işlemci ile çalışan sunucunun en az 8 çekirdekli lisans bedeline başvurması gerekiyor. Veya 2 çekirdekli 4 adet işlemci ile çalışan sunucuların en az 16 çekirdek lisansını satın alması gerekiyor.
Bununla birlikte 8 çekirdekli 4 adet işlemci ile çalışan sunucular 16 çekirdek lisansı öderken, 40 veya daha fazla çekirdekle çalışan sunucularda ekstra ücretlendirme olacak.
14 Nisan 2016 Perşembe
Skype for Business Server Topology Builder encountered an issue and cannot publish this topology.
ERROR
The error message given below mostly appears when you trying to publish the topology for the very first time.
Topology Builder encountered an issue and cannot publish this topology.
SQL store
SOLUTION
1. Open Skype for Business Server Shell on the new Skype for Business Server role that you have deployed
2. Run Get-CsConfigurationStoreLocation. This cmdlet reports back the location of the Active Directory service control point for the Central Management store.
If the output of the above cmdlet is same as that of the SQL server and instance shown in the error above,
3. Run Remove-CsConfigurationStoreLocation cmdlet. The account running the cmdlet must be a member of RTCUniversalServerAdmins group.
4 Aralık 2015 Cuma
Remotely lock computer psexec
psexec.exe -accepteula \\[IPAddress_or_ComputerName] -i -s %windir%\system32\rundll32.exe user32.dll,LockWorkStation
Psexec LOGOFF Remote user / computer and administrators
Remotely Logoff User
Use it when you want to logoff a remote admin because you hate using the Windows Terminal Services Console or because sometimes it crashes.
C:\psexec.exe \\[IPaddress_or_ComputerName] -u DomainName\UserName cmd.exe
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
Password: ********
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\WINDOWS\system32>query session
SESSIONNAME USERNAME ID STATE TYPE DEVICE
>console Administrator 0 Active wdcon
rdp-tcp 65536 Listen rdpwd
rdp-tcp#4 User1 1 Active rdpwd
rdp-tcp#5 User2 2 Active rdpwd
C:\WINDOWS\system32>logoff 1
C:\WINDOWS\system32>logoff 2
Use it when you want to logoff a remote admin because you hate using the Windows Terminal Services Console or because sometimes it crashes.
C:\psexec.exe \\[IPaddress_or_ComputerName] -u DomainName\UserName cmd.exe
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
Password: ********
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\WINDOWS\system32>query session
SESSIONNAME USERNAME ID STATE TYPE DEVICE
>console Administrator 0 Active wdcon
rdp-tcp 65536 Listen rdpwd
rdp-tcp#4 User1 1 Active rdpwd
rdp-tcp#5 User2 2 Active rdpwd
C:\WINDOWS\system32>logoff 1
C:\WINDOWS\system32>logoff 2
Kaydol:
Kayıtlar (Atom)
