Thursday, 27 October 2011
Troubleshooting Netlogon security issues on Win2008R2
Verify services running
start - run - services.msc
check DFS Replication & Netlogon STARTED
Check share
run cmd as elevated user
net share netlogon
Netlogon & Sysvol location
Sysvol - %systemroot%\SYSVOL\sysvol\
Netlogon - %systemroot%\SYSVOL\sysvol\\SCRIPTS
If these shares not present check DFS
test
start cmd as elavated user *start - cmd* press Cntrl+Shift+Enter
dcdiag /test:netlogons
Tuesday, 18 October 2011
Windows 2008 Domain Rename
from CMD
NETDOM computernam ************.****** /add:newcomputername.local
File cannot be loaded because the execution of scripts is disabled on this system error in PowerShell
File cannot be loaded because the execution of scripts is disabled on this system error in PowerShell
Open Powershell as administrator and type
Get-ExectionPolicy
An overview of the policy levels:
Restricted: Individual cmdlets can run, but not saved Powershell scripts. This is the default setting.
AllSigned: Scripts can run, but must have a digital signature even if written on the local computer. Prompts you before running scripts from trusted publishers.
RemoteSigned: Scripts written on the local computer do not need a digital signature, but any script downloaded from outside (email, IM, Internet) must have a signature to execute.
Unrestricted: Any script can run, but scripts downloaded from outside will run with a warning.
By default its set to Restricted
To change it type
Set-ExecutionPolicy Unrestricted
To run a script from a batch file
runas /user:AISCT\administrator "powershell.exe -noexit e:\newdomain.ps1"
My ps script
Set-Restrictionpolicy Unrestricted
Add-Computer -DomainName AISCT -cred AISCT\administrator
Friday, 14 October 2011
Ubuntu - Resolving Name Resolution problems
Check correct IP setup
cat /etc/network/interface
Check Name Server Setups
cat /etc/resolv.conf
nameserver ***.***.***.***
nameserver ***.***.***.***
restart networking or server
sudo /etc/init.d/networking restart
sudo reboot 0
Testing:
ping yahoo.com
Windows 7 nonpaged pool Srv error 2017
I'm using a temp Windows 7 Server to share 2 lots of my shared files on-site while I waited for a new Dell Server to be delivered.
So the problem I've been running into is that I use AD & a batch file to automatically map my users to this windows 7 box and their respective home folders & other folders, but my pc users are experiencing problems where they dont' get their drives mapped when they login - you have to either logoff and log back on or rerun the login batch file.
I found this in the eventlog:
Source: srv
Event ID: 2017
Level: Error
The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.
Someone suggested changing the following registry settings:
Set the following registry key to ’1′:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache
and set the following registry key to ’3′:
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
Followed by a restart of the server service.
Thanks to: http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017
Subscribe to:
Posts (Atom)