28 Ocak 2016 Perşembe

Yerel Grup İlkesi - Denetim Masası Engelleme

Kullanıcı yapılandırması / Yönetim Şablonları / Denetim masası
Ve bu bölümde Denetim masasına erişimi yasakla seçeneği var.

Yerel Grup İlkesi - USB Engelleme

Computer Configuration  > Administrator Templates > System > Removable Storage Access.

Table below shows the possible settings for the USB storage access:
Setting Option
Enable USB Storage (Default)
Read Only Storage
Disable USB Storage
Removable Disk: Deny execute access
Not configured
Not configured
Enable
Removable Disk: Deny read access
Not configured
Not configured
Enable
Removable Disk: Deny write access
Not configured
Enable
Enable

Program Kurulumunu Engelleme

Başlat > Çalıştır > gpedit.msc

Yerel grup ilkesi düzenleyicisi açılacak.

Yöentim Şablonları > Windows Bileşenleri > Windows Installer > Kullanıcı Yüklemesini Yasakla seçeneğine tıklayıp ilkeyi düzenle

Windows 10 Kullanıcının Microsoft Account Açmasını Engelleme

Windows 10
https://www.youtube.com/watch?v=D25TvWS62RY

In Windows 8 or Windows 8.1, whenever you try to open some Windows Store apps (aka Metro apps) such as Mail, Calendar, People, etc, Windows asks you to sign in using a Microsoft account (formerly known as Windows Live ID).
Add_Microsoft_Account_Windows_Mail_App.png
These apps don't allow their use until you sign in using your Microsoft account such as Hotmail ID, etc. You can't use other accounts to sign into those apps.
But did you know Microsoft added a new option in Windows 8.1 which allows you to disable this requirement and use enterprise email IDs to sign into all these Windows Store apps which require Microsoft account?
Yes, that's true. Windows 8.1 comes with a built-in feature to turn Microsoft account requirement off but by default this feature or option is not enabled and you need to enable this option so that you can use your work account.
Use_Work_Account_Sign_in_Windows_Store_Apps.png
Once you enable this option, you can provide correct work account details such as email ID, password, server address, domain name, etc to sign into Windows Store apps such as Mail successfully without using Microsoft account.
You can disable Microsoft account requirement in Windows 8.1 Store apps using any of following 2 ways:
  • METHOD 1: Using Group Policy Editor (gpedit.msc)
  • METHOD 2: Using Registry Editor (regedit)
METHOD 1: Using Group Policy Editor (gpedit.msc)
1. Type gpedit.msc in RUN or Start search box and press Enter. It'll open Group Policy Editor.
2. Now go to:
Computer Configuration -> Administrative Templates -> Windows Components -> App runtime
3. In right-side pane, look for "Allow Microsoft accounts to be optional" option.
4. The option would be set to Not Configured. Double-click on it and set it to Enabled.
Allow_Microsoft_Account_Optional_Windows_Store_Apps.png
That's it. It'll immediately turn off Microsoft account sign in requirement in Windows Store apps.
PS: To restore default behavior, set the "Allow Microsoft accounts to be optional" option toNot Configured.
METHOD 2: Using Registry Editor (regedit)
If you don't want to use or can't use Group Policy Editor, you can take help of Registry Editor for the same task. Just follow these simple steps:
1. Type regedit in RUN or Start search box and press Enter. It'll open Registry Editor.
2. Now go to following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
3. In right-side pane, create a new DWORD MSAOptional and set its value to 1
Disable_Microsoft_Account_Requirement_Windows_Store_Apps.png
4. Close Registry Editor and restart your system or restart Explorer as mentioned here. After restart, Microsoft account sign in will no longer be required in Windows Store apps.
PS: To restore default settings in future, delete the DWORD MSAOptional created in step 3.

23 Ocak 2016 Cumartesi

Ubuntu Network Intercafes

vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        dns-nameservers 8.8.8.8 8.8.4.4

6 Ocak 2016 Çarşamba

Pfsense Proxy Server Custom Options

Proxy server: General settings - Custom Options
url_rewrite_program /usr/pbi/squidguard-amd64/bin/squidGuard -c /usr/pbi/squidguard-amd64/etc/squidGuard/squidGuard.conf;url_rewrite_bypass off;url_rewrite_children 16 startup=8 idle=4 concurrency=0

5 Ocak 2016 Salı

Batch Dosyası İle Network Ayarlarını Değiştirmek

doğru olan bağlantıyı bulmak için;
netsh interface show interface

ip adresini otomatik değiştirmek için komut;
netsh int ip set address "Local Area Connection" address=192.168.1.6 mask=255.255.255.0 gateway=192.168.1.1 1

batch dosyasını yönetici olarak çalıştırmak gereklidir.
batch dosyası içeriği;
@ECHO off
cls
:start
ECHO.
ECHO 1. 192.168.2.1
ECHO 2. 192.168.1.1
ECHO 3. DHCP
ECHO 4. Exit
set choice=
set /p choice=Type the number to print text.
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto con1
if '%choice%'=='2' goto con2
if '%choice%'=='3' goto con3
if '%choice%'=='4' goto end
ECHO "%choice%" is not valid, try again
ECHO.
goto start
:con1
ECHO Connecting Wi-Fi Mutation Static IP
netsh interface ip set address "Wi-Fi" static 192.168.2.6 255.255.255.0 192.168.2.1 1
goto end
:con2
ECHO Connecting Wi-Fi Home Static IP
netsh interface ip set address "Wi-Fi" static 192.168.1.6 255.255.255.0 192.168.1.1 1
goto end
:con3
ECHO DHCP
netsh interface ip set address "Wi-Fi" dhcp
goto end
:bye
ECHO BYE
goto end
:end

Lightsquid Real Name Ayarlama

If you have local DNS server, you can use 'DNS' or 'Demo' IP resolve method.

File /usr/local/etc/lightsquid/realname.cfg contains:

192.168.1.2 Sergey Erokhin
192.168.1.1 Jon Doe
192.168.1.3 Tech Good

Pfsense Proxy Traffic Management

Maximum Download size: Toplam indirilebilir, doysa boyutunu sınırladığımız bölümdür. Dosya sınırını kilobyte cinsinden belirtilmedir.
Maximum Download Size: Dosya gönderirken izin verilecek en büyük dosya büyüklük sınırı.
Overal bandwifth thorttling: Toplam bant genişliğini sınırlayabileceğim alandır.

Per-Host throttling: Kişi başı kullanılabilecek Maximum anlık bantgenişliğini belirlediğimiz bölümdür.