Skip to main content

Uncategorized

Startmenu in Windows 8 or not?

·1 min
I have heard that lots off people are missing the startmenu in Windows 8. I don’t miss it because I normally use the “Run” to enter my command/application and I have pinned my mosy used apps in the taskbar. What I do recommend to my customers is to start using Windows+X. In Windows 7 this would open the Mobility center, but in Windows 8 this opens a smal menu in the bottom left corner: This provides a lot of options for the most. But if you still miss the startmenu and don’t like the new one, I would recommend Classic Shell (http://www.classicshell.net/). This installs a startmenu that you could customize after your needs. If you like the Windows XP look, then just change to that skin. All settings are stored per user in the registry under HKCUSoftwareIvoSoftClassicStartMenu This is a screenshot of my startmenu with Windows 8 look. Notice that is has two folders, one for the Windows 8 apps and one for the classic apps:

Profile Permissions

·1 min
NTFS Permissions for Roaming Profile Parent Folder User Account : Minimum Permissions Required Creator Owner : Full Control, Subfolders and Files Only Administrator : Full Control (Microsoft actually recommends none but it simplifies things if you give admins full control) Security group of users needing to put data on share : List Folder/Read Data, Create Folders/Append Data - This Folder Only Everyone : No permissions Local System : Full Control, This Folder, Subfolders and Files Share level (SMB) Permissions for Roaming Profile Share User Account : Minimum Permissions Required Everyone : No permissions Security group of users needing to put data on share : Full Control

Send mail through telnet

·1 min
hello smtp.server.nl mail from:<test@domain.nl> rcpt to:<to@domain.nl> data subject: This is a test mail to: to@domain.nl This is the text of my test mail. . quit

vSphere 5.1 static MAC

·3 mins
Failed to start VM # After upgrading an ESX cluster from vSphere 5.0 to vSphere 5.1 a VM failed to reboot.. Instead, an error message was issued: Failed to start the virtual machine. Module DevicePowerOn power on failed. Could not set up “macAddress” for ethernet0. Invalid MAC address specified. 00:0C:29:A0:B0:1D is not an allowed static Ethernet address. It conflicts with VMware reserved MACs.

Exchange 2010 reconnect archive mailbox

·1 min
Find (disconnected) mailbox: Get-MailboxServer | Get-MailboxStatistics | where { $_.DisconnectDate } | fl DisplayName, DisconnectDate Recconnect mailbox: Get-MailboxDatabase | Get-MailboxStatistics | Where-Object {$_.DisconnectDate –and $_.DisplayName –eq “Personal Archive - Tinnus Est”} | Connect-Mailbox –user T.Est –archive

Windows Icons: Full list with details, locations & images

·4 mins
Good qual­ity icons and images, espe­cially ones with an alpha trans­par­ency can be time con­sum­ing to make, and are often also hard to find. One source of lots of high qual­ity icons in a range of sizes is Win­dows. Win­dows 7 includes lots of icons which can be use­ful as the major­ity are avail­able in sizes from 16×16 up to 256×256, and come with alpha trans­par­ency. You may have noticed that we use some on our down­loads page — they’re handy to quickly indic­ate file type. Win­dows stores most of its icons inside exe and dll files which makes them inac­cess­ible to stand­ard image manip­u­la­tion applic­a­tions like Pho­toshop. How­ever, once they have been loc­ated they can eas­ily be extrac­ted with the free­ware util­ity IcoFX. Track­ing some of them down seems to be the trick­ier part. Below is a quick ref­er­ence for the loc­a­tions of many of the icons avail­able on Win­dows 7. I will peri­od­ic­ally add more details and any extra icon lib­rar­ies I dis­cover to this list.

Creating AD computer accounts from a CSV

·2 mins
This is an updated script that creates computer accounts in Active Directory. This script uses a comma separated values file as an input instead of two text files. '**************************************Heading********************************* 'create.vbs ' 'Jason Hofferle '04/12/2007 ' 'Script to create AD computer accounts from file '****************************************************************************** option explicit '************************************************************************** 'Variable Declarations '************************************************************************** Const ADS_UF_WORKSTATION_TRUST_ACCOUNT = &h1000 Const ForReading = 1 dim strInputFile, strOU dim arrTemp dim objFSO, objInputFile, objRootDSE, objContainer, objComputer '************************************************************************** '************************************************************************** 'Configuration '************************************************************************** strInputFile = "input.csv" 'specifies name of csv input file strOU = "OU=YourOU,OU=YourOU,OU=YourOU," 'The root will be appended '************************************************************************** '************************************************************************** 'Global Object Initialization '************************************************************************** Set objFSO = CreateObject("Scripting.FileSystemObject") Set objInputFile = objFSO.OpenTextFile(strInputFile, ForReading) Set objRootDSE = GetObject("LDAP://rootDSE") Set objContainer = GetObject("LDAP://" & strOU & objRootDSE.Get("defaultNamingContext")) '************************************************************************** '************************************************************************** 'Main Script Execution '************************************************************************** Do Until objInputFile.AtEndOfStream on error resume next err.Clear arrTemp = Split(objInputFile.Readline, ",", -1, 1) if err <> 0 then wscript.echo "Error reading line from input file." err.Clear end if set objComputer = objContainer.Create("Computer", "cn=" & arrTemp(0)) if err <> 0 then wscript.echo "Error creating computer account " & arrTemp(0) err.Clear end if objComputer.Put "sAMAccountName", arrTemp(0) & "$" objComputer.Put "description", arrTemp(1) objComputer.Put "userAccountControl", ADS_UF_WORKSTATION_TRUST_ACCOUNT objComputer.SetInfo if err <> 0 then wscript.echo "Error creating computer account " & arrTemp(0) err.Clear end if set objComputer = nothing on error goto 0 Loop objInputFile.Close set objFSO = nothing set objInputFile = nothing set objRootDSE = nothing '**************************************************************************

Command Line Commands for Control Panel Applets

·7 mins
List of Control Panel Commands in Windows 8, 7, Vista, and XP Sometimes it’s easier, or maybe even necessary, to open a Control Panel applet from a command line in Windows. Each Control Panel applet can be opened by executing a command, you just have to know what that command is. Control Panel itself can be accessed by executing control from a command line in Windows 8, Windows 7, Windows Vsta, and Windows XP. If you want a way to start a Control Panel applet from a script or from the Command Prompt, the following list of commands for Control Panel applets should help: Note: See my List of Control Panel Applets in Windows for Control Panel applet descriptions and information about changes in applets between the Windows operating systems.

get Cisco config through putty

·1 min
enable session> logging in putty using connection properties, then term len 0 sh run In this way all the file is placed without need to press for next page then you stop logging and you have your file. To have again pages type: term len 25 Putty saves an header with date and time at the beginning after that you have clean text file.