Posts

Task Scheduler Not Running VBScript Correctly

have frustrating issue task scheduler i’m hoping can shed light on me. i’ve scheduled task runs vbscript collects users in administrators group several vm’s. problem when run task windows server 2008 r2 64-bit partial list of users or none @ all. if run same script windows server 2012, works fine. output txt file. i've ran script task scheduler , manually using elevate privileges , getting same result. if run same script system, works fine. there on servers might restricting access admin groups? i’ve tried these settings post: 1) make sure task set "configure windows vista or windows 2008" on first page of task properties (under "general" tab)   2) make sure task set "start in" folder contains batch file: open task properties, click on "actions" tab, click on action , "edit" button @ bottom.  in "edit action" window there field "start in (optional)" set path batch file.   3) ma...

unlocking the microsoft word

      i dont know if im in right place or not. i've been on hold w microsoft on hour.     i have problem micrsoft word 2007. typing in program , somehow locked keyboard in program. gives me message "this modificationis not allowed because selection locked".   please assist me in unlocking this. again can type fine in other programs.   marielgal      marielgal  i wonder if out there may me unlock microft word 2007,i trying type in benieth written unable type in work.                                                  thy kindness!!!  ...

Clients stopped reporting to WSUS.

hello,   not sure if corrrect place post this.  if not, please direct link should post this.  had wsus installed on win 2000 server , working fine.  upgraded win 2003 server , i'm having issues.  clients being detected, show in wsus not report.   i haven't changed configuration iis/gpo/wsus.  tried running below batch files no luck.   batch file 1 reg delete hklm\software\microsoft\windows\currentversion\windowsupdate /v accountdomainsid /f reg delete hklm\software\microsoft\windows\currentversion\windowsupdate /v pingid /f reg delete hklm\software\microsoft\windows\currentversion\windowsupdate /v susclientid /f cls @echo triggering detection after resetting wsus client identity net stop wuauserv net start wuauserv wuauclt /resetauthorization /detectnow   batch file 2 regsvr32 /s wuapi.dll regsvr32 /s wups.dll regsvr32 /s wuaueng.dll regsvr32 /s wucltui.dll regsvr32 /s msxml3.dll net start wuauserv wuauclt.exe /resetauthorization /detectnow   any appreci...

domain name /username usage ?

hi all, i having issue in office. have 2 child ms win 2003 servers 1 in london , other in tokyo.  mother server - juniper.net 1 child server - london.juniper.net (say) 2nd child server - tokyo.juniper.net (say)   all servers acting global catalog. now when user london try access resources of tokyo server user use syntax " domainname/username" or username , password work ? please reply fast. regards, dhruv       if user accessing resource in domain , getting prompted, sign either there problem trust relationships, or user not defined in acl resource (implicit deny). in case, if resource in different domain, format domainname\userid.   visit: anitkb.com , knowledge base. Windows Server  >  Network Infrastructure Servers ...

Session Authentication Issue

i have set 2008 ad / radius server authenticate wireless clients, works great using peap , certificates. followed couple of ms methods enabled me working. user selects wireless ssid notice bubble comes log in, log in using domain username , password. hey presto accessing network. issue when logout of desktop log in wireless reconnects them using prevoious session credentials. want make them log in each new wireless session. how go adding policy? enforce new wireless sessions have authenticated username , password. tohught using idle timeout not right way it. thanks or suggestions mick hi mick,       win7 use wlan autoconfig service auto connect wireless network. setup wireless network policies(802.11) in gpo,   add infrastructure wireless ssid in available network list, in “security tab”, uncheck “cache user information subsequent connections network”.   configure wireless clients running windows 7 , windows vist...

Cannot install CA Certificate in subordinate CA

i have linux offline ca.  i have created root ca cert, published (and crl) ad. i created server 2012 r2 subordinate ca, installed root cert in trusted root certificates container,  created new key, , created csr. i signed subordinate ca's csr on offline root ca (the linux one) , collected new .cer file. when open certification authority , try install certificate error "the certificate not ca certificate". event viewer has bunch of event 10016 distributedcom errors....not sure if related. i tried manually importing certificate , exporting pkcs#7 format....still same format.  i did notice key not part of certificate....not sure if problem. any ideas here?  any appreciated..... your linux ca misconfigured , did not include basic constraints extension in ca certificate. consult linux ca documentation or support community fix issue. vadims podāns, aka powershell cryptoguy weblog: en-us.sysadmins.lv powershell pki module: pspki.codeplex.com po...

Powershell noob - How do you return something from a funciton?

Image
hi, i have following code: function createworkbook ( [ string ] $wbname ) { $xl = new - object - comobject excel.application $wb = $xl .workbooks.add() write - host $wb } #$bk = $xl.workbooks.open('sample.xls') $wbook = createworkbook( 'name' ) $wbook .gettype() when run error: you cannot call method on null-valued expression. @ :line:10 char:11 + $wbook.gettype <<<< () basically want return object function creates , store in $wbook. how do that?   thanks jamie http://sqlblog.com/blogs/jamie_thomson/ | @jamiet | me no worries, figured out!! function createworkbook ( [ string ] $wbname ) { $xl = new - object - comobject excel.application $wb = $xl .workbooks.add() return $wb } $wbook = createworkbook( 'name' ) $wbook .gettype()   http://sqlblog.com/blogs/jamie_thomson/ | @jamiet | me ...