Search This Blog

Saturday, October 31, 2015

VDI in Azure cloud

Azure cloud dont do physical

but VDI requires it

boot to safe mode in windows 8 and windows 10 --- no luck with F8 key ?

http://www.howtogeek.com/107511/how-to-boot-into-safe-mode-on-windows-8-the-easy-way/

quote :
You can still have Safe Mode, however, it is buried deep into the recovery options of Windows 8 or 10. While just mashing the F8 key as we all know will boot you into automatic recovery mode, you can still manually access the recovery options by pressing the Shift+F8 key combination. Even more simple, however, is the option to just hold the SHIFT key and click Restart at the login screen, or even within Windows.
Note: all of this should work exactly the same in Windows 10 as it does in Windows 8.

https://www.asus.com/nz/support/FAQ/1008250/

bcdedit /set {default} safeboot
bcdedit /set  {bootmgr}  displaybootmenu yes


Monday, October 26, 2015

what can I do if I have 13 server 2012 r2 VMs with the same SID in V sphere 6 and I is required to setup AD

what can I do if I have 13 server 2012 r2 VMs (same SID) in V sphere 6 and I is required to setup AD ---

of course , there are many ways to do this ....

use sysprep to generate a new SID for the VM ( domain controller to be )

then other VMs can join to this domian.

ie, only domain controller cares about SID conflict.


SID gala ---- cannot join a server to a domain because of SID conflict, .... use sysprep to generate a new SID

SID gala ---- cannot join a server to a domain because of SID conflict, .... use sysprep to generate a new SID

--- this could happen when a VM is cloned without a new SID.

there is not new sid software for windows server 2012 / R2

I have to re-generate the SID using sysprep ( while doing work in a vSphere 6 enviroment)

sysprep will trip added-drivers. to keep current driver, need do an answer or modify a reg value -- something like persistent pnp




windows 2012 R2 remote desktop services -- active directory is a requirement , and a second RDS server should be able to use the first license server


windows 2003 TS and windows 2008 R2 RDS can work in workgroup mode.

but server 2012 / R2 requires active directory

yes, AD is required

also when I enabled RDS role the other day, the broke role got an error , in this case I need re-enable PS remoting

also add a 2nd RDS server, do it the low-tech way, dont have to configure the gateway, set itself as broker, point the license server to the 1st RDS which has the licensing role.


login to a windows server 2012 R2 as admin mode

it is still useful mstsc /admin, this will work even if the server could not contact the licensing server

and will not consume a license

Sunday, October 25, 2015

useful tools - net statistics server

net statistics server

date /t & time /t

psloogedon

net session

netstat


netstat -na

netstat -ano

netstat -nao 1

netstat -nao 1 | find "137"

net users

net localgroup administrators

tasklist

tasklist /svc

openfiles

openfiles /local on


wmic

psfile

wmic process list brief

wmic process list full

wmic startup list






Saturday, October 24, 2015

a Dell PC showing blank screen in a Monday morning

A CEO's dell stopped working, nothing on the screen.

I was away that bad day. a co-worker handled it by shuffling the RAM sticks. what a good jb

Sunday, October 18, 2015

manual routing between two remote subnets ---- a perfect answer to need add a route back to the source

manual routing between two remote subnets ---- a perfect answer to need add a route back to the source


here is the secenario

192.168.1.x -- HO

192.168,2,x -- remote branch subnet

between these two subnet , there is a site-to-site setup via two Mako firewalls. Mako is a local vendor.

now their VOIP supplier wants to add a SIP trunk attached to the HO network

192.168.1.x -- -- 192.168.1.20 --CISCO router --- 10.x.x.x PABX

I am told by the VOIP vendor, to add a route to 10.x.x.x netowork


I added a static route to 10.x.x.x witjh 192.168.1.20 a gateway

and I did the switch-over with the PABX guy

the 192.168.1.x seems all good

but the phones in the 192.168.2.x not working. as the phones looking for the new pabx location.

eventually called the VOIP vendor to add a route back to 192.168.2.x in their CISCO router

after some argument, they did it, all problem sorted.


lession learned: you add the route to the destination and you also need add a route back to the source








sonicwall global vpn client not working --- L2TP not working

sonicwall global vpn client not working --- L2TP not working

replaced with a different firewall, still the same issue

L2TP packets never reached the firewall, as the netwrok device - dsl router in front of the firewall has its builtin pptp, l2tp server -- some brand do have that

disable the dsl router 's own vpn service, then sonicwall handled l2tp ( ie, not intercepted)

credit /kudos to the team

Friday, October 16, 2015

group policy precedence - revisited

GP precedence

computer settings over user settings

link order 1 takes precedence over link order 2 etc

Sunday, October 11, 2015

exchange 2016 roles ---

not like exchange 2013, no separate CAS role

the mailbox role will run CAS role

http://searchexchange.techtarget.com/opinion/Why-it-will-be-easier-to-deploy-Exchange-Server-2016

There's only one option -- deploy the Mailbox Role.


Saturday, October 10, 2015

Exchange 2016 prerequisites ---

https://technet.microsoft.com/en-us/library/bb691354(v=exchg.160).aspx


Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms


Exchange 2016 released ---

https://technet.microsoft.com/en-us/library/mt170645(v=exchg.160).aspx

do not support exchange 2007

can co-exist with exchange 2010

DC need be 2008 and later ( no 2003)

h/w at least 8GB ram

Exchange 2016 can only be installed on windows server 2012 or 2012 R2

again outlook 2007 not supported, like outlook 2016 not supporting exchange 2007


Friday, October 2, 2015

email retention in office 365 -- 14 days for and normal mailbox

email retention in office 365 -- 14 days for and normal mailbox

after talking to MS O365 support this afternoon, it look like emails deleted from deleted item can only recovered for two weeks

unless legal hold in place