Archive for February, 2013

Slow logon to Windows 8

0

My windwos 8 system took more then 120 seconds to login.

This message was shown in the eventviewer,
Sourcee:Winlogon, Eventid: 6006 :  “The winlogon notification subscriber <GPClient> took 124 second(s) to handle the notification event (Logon).

After a bit of research I found out that disabling the autotuninglevel was the solution.
(was also a solution in windows vista and windows 7)

  1. Start an elevated command prompt
  2. type “netsh” followed by enter
  3. type “interface tcp set global autotuninglevel=disabled” followed by enter
  4. Reboot the system

 

Remote Logins Are Currently Disabled

0

You receive this message when trying to login to the server “Remote logins are currently disabled.”

In order to enable logon again  the “CHANGE LOGON /ENABLE” command must be issued.

To do this remotely we need the psexec.exe utility, this can be downloaded from live.systernals.com

Start a command prompt :

Use this syntax
psexec.exe “\\SERVERNAME\ change logon /enable”

 

———————————————————–

change logon command syntax:

change logon /enable | /disable | /query

The parameters that are used by the change logon command are:

/enable: Use this parameter to turn on logons from client sessions.
/disable: Use this parameter to turn off any further logons from client sessions. Currently- logged-on users are not affected.
/query: Use this parameter to display the current logon status.

Windows 8 awakes spontaneously from sleep

0

In an elevated command prompt you can check with this command which device caused the last awake of the system.

powercfg -lastwake

 

to find hardware devices that can wake your computer, run the following command:

powercfg -devicequery wake_armed

 

You can change this settings via device manager,
Properties of the device.Choose the powermanagement tab and uncheck

Allow this device to wake the computer check box and click OK

 

Also check the scheduled tasks that are allowed to wake you computer

powercfg -waketimers

You can edit this scheduled task in the Windows task scheduler.

 

Create A Custom Shutdown or Restart Button

0

Right click on  the desktop

choose “New>Shortcut” and enter

 

for Shutdown use  C:\windows\system32\shutdown /s /t 0
for Restart use C:\windows\system32\shutdown /r /t 0

This will create a  shutdown shortcut on your desktop

associate a shutdown image to the icon.
right click the icon, choose properties,
“shortcut” tab -> “change icon” button.

choose the red “Turn Off computer” icon  and click “OK”

For windows 7 or 8
Move this shortcut to : C:\ProgramData\Microsoft\Windows\Start Menu\Programs

now  the icon of shutdown is shown as tile in the Windows 8 Metro interface.

 

——–

To show a comment for 5 seconds while shutting down or restarting, add the  “-c” switch :
%windir%\system32\shutdown.exe -s -c “going to shut….” -t 5

To put the system into standby you need the rundll32.exe command
C:\WINDOWS\System32\rundll32.exe powrprof.dll,SetSuspendState Standby

Logoff
C:\WINDOWS\System32\shutdown.exe -l

Hibernate:
C:\WINDOWS\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

——–

there is another and easier way Download this vbs script from Digital Inspiration,
save the file and double click it to create the buttons on your Windows 8 start screen.

The driver \Driver\WUDFRd failed to load for the device ROOT

0

Start/Run/services.msc

Go to Windows Driver Foundation – User-mode Driver Framework

Change startup type to automatic.

Message “Outlook blocked access to the following potentially unsafe attachments”

0
  1. Exit Outlook.
  2. Start regedit
  3. Go to the following registry key
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security
  4. Under Security, click New, and then click String Value.
  5. Copy and paste (or type) the following name for the new value:
    Level1Remove
  6. Press ENTER.
  7. Right-click the new string value name, and then click Modify.
  8. Type the file name extension of the file type that you want to open in Outlook. For example:
    .exe

    To specify multiple file types, use the following format:

    .exe;.com
  9. Click OK.
  10. start outlook.

 

—————–

Attachment file types blocked in Outlook

FILE NAME EXTENSION FILE TYPE
.ade Access Project Extension (Microsoft)
.adp Access Project (Microsoft)
.app Executable Application
.asp Active Server Page
.bas BASIC Source Code
.bat Batch Processing
.cer Internet Security Certificate File
.chm Compiled HTML Help
.cmd DOS CP/M Command File, Command File for Windows NT
.com Command
.cpl Windows Control Panel Extension (Microsoft)
.crt Certificate File
.csh csh Script
.der DER Encoded X509 Certificate File
.exe Executable File
.fxp FoxPro Compiled Source (Microsoft)
.gadget Windows Vista gadget
.hlp Windows Help File
.hta Hypertext Application
.inf Information or Setup File
.ins IIS Internet Communications Settings (Microsoft)
.isp IIS Internet Service Provider Settings (Microsoft)
.its Internet Document Set, Internet Translation
.js JavaScript Source Code
.jse JScript Encoded Script File
.ksh UNIX Shell Script
.lnk Windows Shortcut File
.mad Access Module Shortcut (Microsoft)
.maf Access (Microsoft)
.mag Access Diagram Shortcut (Microsoft)
.mam Access Macro Shortcut (Microsoft)
.maq Access Query Shortcut (Microsoft)
.mar Access Report Shortcut (Microsoft)
.mas Access Stored Procedures (Microsoft)
.mat Access Table Shortcut (Microsoft)
.mau Media Attachment Unit
.mav Access View Shortcut (Microsoft)
.maw Access Data Access Page (Microsoft)
.mda Access Add-in (Microsoft), MDA Access 2 Workgroup (Microsoft)
.mdb Access Application (Microsoft), MDB Access Database (Microsoft)
.mde Access MDE Database File (Microsoft)
.mdt Access Add-in Data (Microsoft)
.mdw Access Workgroup Information (Microsoft)
.mdz Access Wizard Template (Microsoft)
.msc Microsoft Management Console Snap-in Control File (Microsoft)
.msh Microsoft Shell
.msh1 Microsoft Shell
.msh2 Microsoft Shell
.mshxml Microsoft Shell
.msh1xml Microsoft Shell
.msh2xml Microsoft Shell
.msi Windows Installer File (Microsoft)
.msp Windows Installer Update
.mst Windows SDK Setup Transform Script
.ops Office Profile Settings File
.pcd Visual Test (Microsoft)
.pif Windows Program Information File (Microsoft)
.plg Developer Studio Build Log
.prf Windows System File
.prg Program File
.pst MS Exchange Address Book File, Outlook Personal Folder File (Microsoft)
.reg Registration Information/Key for W95/98, Registry Data File
.scf Windows Explorer Command
.scr Windows Screen Saver
.sct Windows Script Component, Foxpro Screen (Microsoft)
.shb Windows Shortcut into a Document
.shs Shell Scrap Object File
.ps1 Windows PowerShell
.ps1xml Windows PowerShell
.ps2 Windows PowerShell
.ps2xml Windows PowerShell
.psc1 Windows PowerShell
.psc2 Windows PowerShell
.tmp Temporary File/Folder
.url Internet Location
.vb VBScript File or Any Visual Basic Source
.vbe VBScript Encoded Script File
.vbs VBScript Script File, Visual Basic for Applications Script
.vsmacros Visual Studio .NET Binary-based Macro Project (Microsoft)
.vsw Visio Workspace File (Microsoft)
.ws Windows Script File
.wsc Windows Script Component
.wsf Windows Script File
.wsh Windows Script Host Settings File
.xnk Exchange Public Folder Shortcut

Windows 8 random freezing issue

0

Problem : the system may randomly stop or freeze

Solution : Run this command in an elevated command prompt :

bcdedit /set disabledynamictick yes

 

–> What it will do is stop Windows from coalescing CPU clock ticks when idle, a feature added in Windows 8 for power savings.

 

See also : http://support.microsoft.com/kb/2727113

list installed applications from windows command line (wmi)

0
wmic product get /format:csv > Software_%Computername%.csv

Update time on a Windows computer

0
If your computer is a part of a domain there is no need to do anything.
The computer will automatically get it's time by querying the PDC Emulator.
If you want to synchronize with an alternate time server ?

Start an elevated command prompt :
W32tm /config /syncfromflags:MANUAL/manualpeerlist: 

pool.ntp.org or time.windows.com are examples of public time sync servers.

After you changed the config and want to force the update type in the command prompt.
W32tm /config /update


Secure your google – gmail account

0

click on the links included under references.

References:
Go to Top