Tips & Clues

Tips & Clues

Windows Server Login Script example

Found here: \\domain.local\sysvol\domain.local\Policies\foldername\USER\Scripts\Logon

Login Script example:

Dim WSHELL, SETNETTIME
CONST DOMAINNAME = "myDomain"

Set WSHELL = Wscript.CreateObject("Wscript.Shell")

SETNETTIME = "net time /DOMAIN:" & DOMAINNAME & "/set /y"
'wscript.echo("Syncing workstation time with server time!")

WSHELL.run(SETNETTIME)
wscript.echo("Time has been Set." & vbCrLf & "Other Scripts disabled.")
20 Mar 2012

Settings (in Vista and Windows 7) to access Samba Shares...

Microsoft Vista’s default security policy is to only use NTLMv2 authentication. I am not sure what the setting is by default in Windows 7 - so this may apply there too. Note that NTLMv2 authentication is supported in Samba 3.0+ Seems like we ought to be heading towards Kerberos for all our authentication needs in the longer term. See the forum discussion on this at: http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746
14 Sep 2011

HP Array Configuration Utility in a Redhat Linux Server

To review the HP Drive Array Diagnostics in a Redhat Linux Server: Start the services: hp-health System Health Monitor and Command line Utility Package. hpsmhd    System Management Homepage server. Then start the "Array Configuration Utility":
# sudo  /usr/sbin/cpqacuxe -R
Then browse to the URL on your server (in this example 10.2.2.1): https://10.2.2.1:2381
11 Jul 2011

Great Visio Resource

Greg Ferro has great ideas for representation of complex VLAN & routing layouts in Visio: http://etherealmind.com/category/network-diagrams/
24 Jun 2011

Mount an NTFS Filesystem in Linux

Under CentOS 5.6 OR Redhat Enterprise Linux RHEL 5.6 To mount NTFS file systems, you'll need to do this: mount -t ntfs-3g /dev/sda1 /mnt
01 May 2011

Sprint EVO 4G data reset procedure

In order to get your data working again after an outage of 3G or 4G you need to do the following in sequence:
  1. Phone this number: ##3283#
  2. Hit "EDIT" - it will prompt for a password
  3. Hit 287804
  4. Hit "OK"
  5. Select "DATA PROFILE"
  6. Go to Menu --> Restore
  7. Hit "OK" [Twice]
It will reboot, and do stuff...
Then, once it has fully rebooted, go to: Menu/Settings/System Updates/Update Profile
Once that is done, your data connection via 3G or 4G should be repaired.
06 Apr 2011

Windows 7 Upgrade Clean Install - How to get it to accept the Upgrade Key

How to Install Windows 7 to a NEW Drive using an Upgrade DVD

I recently had to deal with Microsoft Support on this issue, and I can save you a great deal of time by passing on this procedure to you. Here's the scenario: you want to upgrade to a new monster SATA drive, and do a clean install of Windows 7 from an UPGRADE DVD, but the way the upgrade is setup, you need to first install the VISTA or XP version of windows so that the upgrade can run without activation errors. Well, I'm told by Microsoft Support that the following sequence will work:

  1. Boot up the PC with the Windows 7 Upgrade DVD disc media into DVD-ROM drive.
  2. Follow the Windows 7 Installer to install the new operating system onto the empty disk drive.
  3. During installation, when prompted for a product key, DO NOT enter the upgrade version product key - in other words, leave the box BLANK and proceed.
  4. DeSelect/untick the Automatically activate Windows when I’m online check box during the installation process.
  5. After Windows 7 is installed, boot up to the desktop, and re-insert the Upgrade DVD. Run the Installer from the DVD (don't BOOT to the DVD), just run it after having booted to the new (un-activated) version of Windows 7. When asked, run the UPGRADE option for the installer against the newly installed Windows 7. You will be asked at some point to key in your Product Key - you now can type in the Upgrade Product Key, and it should successfully activate (assuming that you are online as you do this step).
19 Nov 2010

Find CPU info in Linux

This command will give you all of the known info regarding the processor(s) under linux:
# less /proc/cpuinfo
21 Jun 2010

Manual Start/Stop of the GUI in Ubuntu

To stop the GUI:

Code: The easist way is to open a terminal and execute these commands:
sudo /etc/init.d/gdm stop
And then ctrl+alt+backspace to end your current session

To restart the GUI:

sudo /etc/init.d/gdm start
12 May 2010
Subscribe to Tips & Clues