Active Directory UserAccountControl – Quick Reference

This table provides a quick reference guide to common userAccountControl values. This is not intended to be a complete reference.

Value Description
512 Enabled Account
514 Disabled Account
544 Enabled, Password Not Required
546 Disabled, Password Not Required
66048 Enabled, Password Doesn’t Expire
66050 Disabled, Password Doesn’t Expire
66080 Enabled, Password Doesn’t Expire & Not Required
66082 Disabled, Password Doesn’t Expire & Not Required
262656 Enabled, Smartcard Required
262658 Disabled, Smartcard Required
262688 Enabled, Smartcard Required, Password Not Required
262690 Disabled, Smartcard Required, Password Not Required
328192 Enabled, Smartcard Required, Password Doesn’t Expire
328194 Disabled, Smartcard Required, Password Doesn’t Expire
328224 Enabled, Smartcard Required, Password Doesn’t Expire & Not Required
328226 Disabled, Smartcard Required, Password Doesn’t Expire & Not Required
Posted in Computers and Internet | Tagged | Leave a comment

Problem: Closing Modern Apps (Metro) not returning to Start Screen in Windows 8.1

I updated my Home Media Center from W8 to W8.1.

After installing the Windows 8.1 Update, I found that closing Modern Apps takes me to Desktop rather than taking me to Start Screen. This is not my preferred behavior on a Media Center.
If I disable the option “When I sign in or close all apps on a screen, go to the desktop instead of Start” (right click on the taskbar and then click Properties and switch to the Navigation tab), I only have Start Screen at logon, but the system still goes to Desktop on Modern Apps closing.

W8NavBar

In order to make the above-mentioned option work as you expected from it, you need to configure an additional setting. Open the Taskbar and Navigation properties window, and uncheck the “Show Windows Store apps on the taskbar” option.

W8TaskBar
You can now close all the running Modern Apps and be able to return to Start Screen!

Posted in Computers and Internet | Tagged | Leave a comment

How to put a web link on Ubuntu Unity Luncher

For creating a web page shortcut on Unity Luncher, first create a .desktop file (example gmail.desktop) on: .local/share/applications

[Desktop Entry]
Name=gMail
Comment=Apre gMail in firefox
Exec=firefox https://gmail.com/
Icon=/home/shareduser1/.local/share/applications/mail-gmail.jpeg
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;
OnlyShowIn=GNOME;Unity;
X-GNOME-Keywords=Network;gMail;
Name[it]=gMail

Configure the Icon as you prefer.
Drag the file on Luncher.

Posted in Computers and Internet | Tagged | Leave a comment

Problem: Vodafone Internet Key (K3806-Z) on Ubuntu 14.04

I had a strange problem with a Vodafone Internet Key (from Vodafone Station 2) and Ubuntu. Creating a WWAN connection (with APN web.omnitel.it) I can see the PPP tunnel connected but I can’t browse nothing. I discovered that no default gateway was set up by DHCP Client; if you run again “dhclient wwan0″ after the connection, all start working.
To work around the problem, create a file like this (the name is not important):/etc/network/if-up.d/wwan_prob

#!/bin/sh

logger "running dhcp client on $IFACE to work around modem manager problem..."

if [ "$IFACE" = "wwan0" ]; then
       dhclient wwan0
fi

NOTE: Check that the name of your network interface is wwan0.

Set this file executable and try to use again the K3806-Z.

sudo chmod 755 /etc/network/if-up.d/wwan_prob
Posted in Computers and Internet | Tagged | Leave a comment

How to reduce startup time on Windows 7

In your windows 7 or above (no SSD Disks) you can reduce the startup time with the following:

Set a fixed pagefilesize (with 4GB of RAM 8GB of pagefile should be a good value) to minimize disk defragmentation.

Reboot

Delete c:\windows\prefetch\*.*

Perform free-space consolidation and repopulate prefetch folder running:

defrag c: /x
Rundll32.exe advapi32,ProcessIdleTasks

Check in the c:\windows\prefech folder for the Layout.ini file. If the layout.ini file is
created, reboot.

Perform boot optimization running:

defrag c: /b

Reboot

Posted in Computers and Internet | Tagged | Leave a comment

SQL Full Backup & Transaction Log backup

REMEMBER: Transaction Log is not automatically truncated when a Full Backup is performed.

http://blogs.technet.com/b/beatrice/archive/2008/07/24/full-backups-transaction-logs-backup.aspx

To better understand Transaction Log Truncation:

http://technet.microsoft.com/en-us/library/ms189085(v=sql.105).aspx

Troubleshot a Full Transaction Log:

SELECT name ,
       recovery_model_desc ,
       log_reuse_wait_desc
FROM   sys.databases
WHERE  name = 'MyDatabase'

If the value returned for log_reuse_wait_desc, from the previous sys.databases query, is LOG_BACKUP, then you are operating a database in the FULL recovery model (or less common, the BULK_LOGGED recovery model), without taking transaction log backups.
If the value returned for log_reuse_wait_desc is ACTIVE_TRANSACTION, then you are suffering long-running or uncommitted transactions.
Another common cause of the Active Transaction value for log_reuse_wait_desc is the presence of “orphaned” explicit transactions that somehow never got committed.

To identifying the active transaction:

DBCC OPENTRAN (MyDatabase)
SELECT st.session_id ,
         st.is_user_transaction ,
         dt.database_transaction_begin_time ,
         dt.database_transaction_log_record_count ,
         dt.database_transaction_log_bytes_used 
FROM     sys.dm_tran_session_transactions st
         JOIN sys.dm_tran_database_transactions dt
                   ON st.transaction_id = dt.transaction_id
                      AND dt.database_id = DB_ID('MyDatabase')
WHERE st.session_id = 56

Change the st.session_id value with the SPID value of DBCC OPENTRAN.

Recovery Model Overview:

http://technet.microsoft.com/en-us/library/ms189275(v=sql.105).aspx
http://msdn.microsoft.com/en-us/library/ms189275.aspx
http://technet.microsoft.com/en-us/library/aa196649(v=sql.80).aspx

Posted in Computers and Internet | Tagged , | Leave a comment

Windows 8.1 and SSD disk

Also on Windows 8/8.1 Windows System Assessment Tool is present and used. For Optimizing Windows 8/8.1 to use SSD disk run this command:

WinSAT.exe formal

Check also that your SATA mode is in AHCI to have trim enabled.
Is non necessary to reinstall OS… check this: http://support.microsoft.com/kb/2751461 or boot in SafeMode one time and then reboot.

Via: http://technet.microsoft.com/en-us/library/hh825197.aspx

Posted in Computers and Internet | Tagged | Leave a comment