Specializing in expert technology advice and implementation in NorthEast Florida

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.")

NTP setup for Windows Server 2003 (DC)

Synching to an External Time Source

Setting the Primary DC -  Windows Server 2003 to sync with an external time server:

Open the Registry Editor (regedt32.exe) make the following changes:

HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type
This registry entry determines which peers W32Time will accept synchronization from.
Change this REG_SZ value from NT5DS to NTP

Boot troubles - Dual-booted -- Ubuntu installed after WinXP

Having to repair the Grub2 boot setup...

Here's how I fixed it...

  1. Booted to Ubuntu Linux 11.10 Desktop
  2. Opened a Terminal session
  3. Installed Boot-repair
  4. Ran same, and took the default one-click repair option...

For the less savvy of us, here are the two magic CLI commands to install & run it:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Boot-Repair

Using Blockquote in Drupal to highlight text...

OK- I finally have one I like to highlight a quotation with.
It is a Drupal module called "Blockquotes" and it goes like this:

Posted by zeta ζ on July 14, 2008 at 7:38pm

The Blockquote module is used to create styled blockquotes in your pages.

These blocks of text are intended for one or more verses or paragraphs that are quoted verbatim (word for word). Separating this text into a block shows that the whole block is quoted, therefore no punctuation marks are needed to indicate the beginning or end of the quotation.

Pull Quotes

I wanted to add some CSS to my Drupal sites to provide a cool quotations look for blog posts etc. This is the module that I found that I think does a very good job. Unfortunately, I also need an option to remove the original text from the post - so that ONLY the pull quote is viewable. But that doesn't appear to be available as an option with this module. For most of the time, I really want the quote to be INLINE in the text. Any thoughts on how that could be done would be welcomed - you can comment on it here if you like...

Twitter Module Breaks if you don't upgrade to OAuth 6.x-3.0

I just sorted out the newest version of the Drupal Twitter module (https://drupal.org/project/twitter) - it was broken somewhere around December by an upgrade that pushed the version required of the Drupal OAuth Module http://drupal.org/project/oauth up to the newer OAuth 6.x-3.0-beta4
There is also now a required module ADDED called "Autoload" (Currently Version 6.x-2.1 - http://drupal.org/project/autoload) that was not required prior to this.

Resetting the TCP settings in Windows 7 (& probably Vista etc.)

It's hard to admit this, but I have had a great deal of trouble with Windows 7 and VPN - connecting to a remote VPN service from a Win7 Desktop.

I looked everywhere to try to resolve it, when I finally ran across this little gem:

netsh winsock reset catalog [resets winsock]
netsh int ip reset reset.log hit [resets the TCP/IP stack]

Run these two at the command line, REBOOT, and (at least for me) all of my issues with VPN connection failures were GONE !

TEST WEBFORM

This is a test of the new content type: "Webform"

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=...

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

Pages

Subscribe to Jax Beach Technology Services RSS