Posts

Showing posts from March, 2010

removal of ata_piix generate crash for VM running on HyperV 2012 R2

hi all, i have below use case: 1. created vm 1 vhd , 1 vhdx disk on hyperv2012 r2 hypervisor. 2. created 1 bootable iso contains vmlinuz & initrd file oracle enterprise linux 6.4 media. 3. mount created media on vm , booted vm using cd boot option. 4. when machine boots ata_piix controller gets loaded @ initrd stage. while unloading ata_piix, crashes , generate call trace. 5. when there single disk attached vm loading , unloading of ata_piix controller happens successfully, without problem.(note: disks running on ide controller). 6. 1 more strange thing is: when add 1 more virtual processor i.e. if 2 virtuall processors present in vm ata_piix gets uunloaded successfully, without crash. if single processor there if 1 disk attached. ata_piix gets unloaded if more 1 disk attached vm, unloading of ata_piix generate crash. need resolve issue. please , let me know if need further info resolve same. thanks, indus. hi sir, it beyond scope of can support >

WLDAP API ldap_search_sA() fails when filter contains European symbol as double byte character

ldap_search_sa() function uses pchar parameter input fails when pass utf-8 string containing european characters filter. question1) why happen? is issue/bug? when convert above filter widechar_t & pass ldap_search_sw() works.   question 2) if use ldap_search_s() openldap works double byte character although filter passed char*. feature not supported microsoft?   example - if pass user char* user = "gσr", strlen(user) 4 since σ taking 2 bytes this works openldap api accepts char*   thank you this should posted in msdn forums developers. http://social.msdn.microsoft.com/forums/en-ca/categories -- paul bergson mvp - directory services mcitp: enterprise administrator mcts, mct, mcse, mcsa, security+, bs csci 2008, vista, 2003, 2000 (early achiever), nt4 http://www.pbbergs.com     twitter @pbbergs http://blogs.dirteam.com/blogs/paulbergson please no e-mails, questions should posted in newsgroup. posting provided "as is&quo

Answer file not applied

hi all, have answer file i'm attempting apply installatio n of image (as opposed sysprep'ing) , i'm having trouble getting apply. i've added root of usb stick, , have tried names "autounattend.xml/.txt" , "unattend.xml/txt" , far nothing working. how install process acknowledge answer file? if name file autounattend.xml , put file in root of usb drive or in root of installation media should work. how unattend file like? Windows Server  >  Setup Deployment

Authentication failed for asp.net member ship database used as Identity provider

hi, i new adfs area have managed  configured adfs on windows server 2012 r2 standard edition. trying configure saml based authentication sharepoint 2013. dont want use active directory asp.net membership provider database authentication provider. authentication failed sql database users i 2 ids in event viewer, 364 and 342. error details for 364 exception details:  microsoft.identityserver.authenticationfailedexception: test2@test.com-the user name or password incorrect ---> system.identitymodel.tokens.securitytokenvalidationexception: test2@test.com ---> system.componentmodel.win32exception: user name or password incorrect    --- end of inner exception stack trace ---    at microsoft.identityserver.service.tokens.msiswindowsusernamesecuritytokenhandler.validatetokeninternal(securitytoken token)    at microsoft.identityserver.service.tokens.msiswindowsusernamesecuritytokenhandler.validatetoken(securitytoken token)    at microsoft.identitymodel.tokens.secur

Disabling of X-Windows access control, REXD daemon, RSTATD, RWALLD, RUSERD, SPRAYD, PCNFSD, CMSD, DTSPCD, TTDBSERVER, RWHO

hi all, as per security controls need disable mentioned settings on windows 2012 & windows 2008, please me out on these applicable  respected environment ?  if yes how disable ... settings : x-windows access control rexd daemon rstatd rwalld ruserd sprayd pcnfsd cmsd dtspcd ttdbserver rwho thanks in advance ... hi, i don't find these services in our lab, maybe there other programs  using these services.you could  try use 'netstat' or portqry find out use these services , ports uninstall or disable them. you check similar thread more information: disable netstat,rstat,tftp,rwall,ruser,daytime,bootps,finger,sparyd,pcnfsd,who service https://social.technet.microsoft.com/forums/sharepoint/en-us/ff6cd7a3-3a4c-4b21-a94e-9c8ec49ddc77/disable-netstatrstattftprwallruserdaytimebootpsfingersparydpcnfsdwho-service?forum=winserversecurity   best regards, cartman please remember mark replies answers if , unmark them if provide no help.

Invoke msiexec on remote machine and get 0x80070005 error

hi everyone, i'm trying script in powershell install msi files on remote machines in same domain. when use invoke-command run simple cmdlets on remote machine works fine, when try invoke msiexec i've got error msi log msi (c) (50:c4) [10:50:30:962]: failed connect server. error: 0x80070005 function in installfunction.ps1 file function managemsi { param ( [parameter(mandatory=$true)] [string] $msifile, [parameter(mandatory=$true)] [msioperation] $operation, [string] $targetvdir, [string] $targetapppool = "defaultapppoll" , [string] $logpath = $msifile + ".txt" ) begin {} process { try { if($operation -eq [msioperation]::install) { start-process -filepath "$env:systemroot\system32\msiexec.exe" ` -argumentlist "/i `"$msifile`" /qn /l* `"$logpath`"" -wait } if($operation -eq [msioperation]::uninstall)

Server 2008 R2 Task Scheduler E-Mail Notification

from start finish doing: setup custom view in event viewer monitor specific process. (basically tell me changes in intel matrix raid) i attached task custom view and setup schedule send e-mail when event reported... all up until point...i know , understand microsoft has set not allow kind of smtp server used authentication. know, real simple , yet frustrating , stupid. company using web based email that does not allow anonymous mail (godaddy)...obviously security reasons. i trying brainstorm ideas reliable. thoughts to: use anonymous email server = unreliable & hard find try set virtual smtp feature relay anonymous emails legitimate smtp server smtp.gmail.com = more reliable need guidance try using 2nd party software send emails = thoroughly annoyed if end having install email alert wtf microsoft? simple...what’s deal? include user name , password authentication....sounds simple.   any great! if cant tasks function in event viewer perhaps try following:

Query sesiones de red

hola amigos ! tengo 10 dcs con un solo dominio windows server 2003 sp2 y clientes windows 7 sp2 / windows xp sp3, quiero saber como puedo ahcer para saber que usuarios estan conectados como log on al dominio. gracias. hola buenas tardes, mira este par de hilo de los foros technet seguro que te son de utilidad: https://social.technet.microsoft.com/forums/en-us/dc186a32-d280-4d65-a096-9b965c7ac6ab/list-of-users-logged-into-domain-with-computer-name?forum=smallbusinessserver https://social.technet.microsoft.com/forums/windowsserver/en-us/015b17d3-706f-4dc9-b7ee-964c5445eb35/how-to-display-a-list-of-users-currently-logged-on-to-domain?forum=winserverds daniel graciá - madrid / españa mcsa 2012, mcsa 2008, mcitp enterprise admin mcts scom 2007, windows vista configuration mcsa 2003 + security, mcse 2003 + security mcp isa server 2000,itil foundation v3 el blog de dani gracia dani gracia en twitter dani gracia en linkedin

Import-csv exclusions

hello, i'm using construction getting users except ones in exclusion filter $exclude = @( 'user1' 'user2' ) $filter = ($exclude | foreach {'(name -ne ' + "'$_')"}) -join ' -and ' $users = get-aduser -filter $filter its working nice... i have csv "enabled";"name";"alias";"primarysmtpaddress";"secondary1";"secondary3" "true";"name1";"alias3";" alias1@domain.com";"alias1@contoso.com "; "true";"name2";"alias2";" alias2@domain.com";"alias2@contoso.com "; "true";"name3";"alias3";" alias3@domain.com";"alias3@contoso.com "; "true";"name4";"alias4";" alias4@domain.com";"alias4@contoso.com "; i thought, can same exclusion similar way .. normal line withou

Secondary SUP is not reporting to the Primary SUP

we have primary site sup(treat primary sup) installed on separate server.we have installed secondary site , have installed wsus , sup role(treat secondary sup) on 1 of distribution point.the main issue when install client client contacting primary sup instead of secondary sup. the main issue when install client client contacting primary sup instead of secondary sup. sup assigned site server owns client. if client assigned site code of parent site server, client communicate primary sup server. have client communicate secondary sup, need assigned secondary site. lawrence garvin, m.s., mcitp:ea, mcdba, mcsa microsoft mvp - software distribution (2005-2012) mvp profile: http://mvp.support.microsoft.com/profile/lawrence.garvin Windows Server  >  WSUS

32 bit drivers on 64 bit Print server

hi all, my appologies...i know has been discussed before. i have 64 bit w2k8 server print services on it. want install 32 bit xp drivers on print server install printers using gpos.  i'm getting erroes installing 32 bits drivers , yet wizard seems lets choose install 32bit or 64 bit drivers. i've read through many threads various forums, many saying install drivers from  xp machine using \\printserver\printers , fax clicking file, server properties ,  install 32 bit driver. plus seem 32 bit driver name must identical 64 bit driver or else wont work. is way this? there better way this?  people have mentionned use universal drivers (ex: hp) because don't need handle 32/64 bit ____.  can elaborate on this? thanks, jesmat. hi jesmat, i wondering if have tried 2 methods mentioned in following thread. http://social.technet.microsoft.com/forums/en-us/windowsserver2008r2general/thread/8588ae17-a2cf-41ac-9cb9-895007a77a30 if so, work? in opinion, should way deal issue. thanks, mil

Set ipsec using netsh advfirewall

i need convert following 3des aes128 windows2008 r2 netsh ipsec static add policy ipsec-windows2008r2 mmpfs=no qmpermm=0 mmlifetime=1440 activatedefaultrule=no assign=no mmsecmethods="3de-sha1-2" netsh ipsec static add filterlist name="ipsec-windows2008r2" description="ipsec-windows2008r2" netsh ipsec static add filter filterlist="ipsec-windows2008r2"  srcaddr=192.168.76.7 dstaddr=192.168.76.9 protocol=any mirrored=yes netsh ipsec static add filteraction name="ipsec-windows2008r2" qmpfs=yes inpass=no soft=no action=negotiate qmsecmethods="esp[3des,sha1]:1000000k/3600s" netsh ipsec static add rule name="ipsec-windows2008r2" policy="ipsec-windows2008r2" filterlist="ipsec-windows2008r2" filteraction="ipsec-windows2008r2" conntype=all kerberos=no psk=complex-secret-name first command fails with: netsh ipsec static add policy ipsec-windows2008r2 mmpfs=no qmpermm=0 mmlifetime

Error installing the Terminal Services Licensing Role through Server Manager

hi, having problem installing terminal services licensing server role. when add role through server manager, starts install , errors saying "installation failed" , "the server needs restarted undo changes." below server manager logs logged. @ bottom errors saying "2284: 2009-06-09 10:30:19.587 [provider]                  c:\windows\system32\servermanager\cache\cbsupdatestate.bin not exist. 2284: 2009-06-09 10:30:19.587 [cbs]                       iscachestillgood: false. 2284: 2009-06-09 10:30:19.587 [cbs]                       createsessionandpackage: begin 2284: 2009-06-09 10:30:21.208 [cbs]                       createsessionandpackage: done 2284: 2009-06-09 10:30:21.223 [cbs]                       >>>getupdateinfo-------------------------------------------------- 2284: 2009-06-09 10:30:26.429 [cbs] error (id=0) function: 'readupdateinfo()->package_enumerateupdates' failed: 80070bc9 (-2147021879) 2284: 2009-06-09 10:30:26.42

User experience on RDWeb (multiple login prompts, username format etc)

hi, i've been testing rds view using provide remote working facilities staff , far have following set up... - 1 x rd session host - 1 x rd web access - 1 x rd gateway for sake of testing i've put roles onto 1 box. having lot of issues remoteapp not working sso via various links sorted out certificates , replaced faulty javascript file pretty root cause of issues. have seems working setup still have issues user logon experience , wanted check if there's way solve them... 1) username format when logging in have provide login domain\username, different how staff used logging in e.g. via owa, have made modification login page automatically adds domain i'd prefer append in background rather causing possible confusion 2) activex control on pcs i've had issues activex control not working , having enable manually (mainly on xp), not sure if i've been unlucky machines i've tried or if it's common issue can occur? http://support.microsoft.c

Loop-back processing with folder redirection

i using loop-back processing on our terminal servers. have 15 branch sites vpn main location. main location has load balanced terminal servers (using citrix). i'm wanting move user profiles new location. can changing path , making sure says move data, how can keep policy , more granular per user setting terminal servers? we don't have fodler redirection happening on local computers why did this. don't want 500 users come in @ 8am have profile migrated new file server clusters have setup , kill system. want branch @ time. any ideas on how accomplish this? you should able create gpo contains updated folder redirection changes , has loopback enabled (merge mode). scope gpo 2 security groups named: folder redirection - computers, folder redirection - users link gpo terminal servers. once linked, gpo won't take effect until add both computer , user respective groups. allow deploy setting slowly. if answer helped you, check out blog: deployhappiness.  subs

Windows 7 Ent Workstation / Windows 2008 R2 Ent Server Event Collection Failure

i have setup collector (win 2008 r2 ent server) "winrm qc" , "wecutil /qc"  , source (win 7 ent workstation) "winrm qc" added collector domain\hostname the workstation's "event log readers" , "administrators" in order connect w/out "access denied" error.  security.evtx event log file has "event log readers" read access in sddl per "wecutil gl security" showing (a;;0x1;;;s-1-5-32-573).  verified sid returned "wmic group (name='event log readers') name,sid".  collector erroring on collection subscription code "0x138c" saying query returns no active channel.  see login in source security event log collector successful first special privileges assigned logon , account logged in successfully.  verified windows firewall exceptions opened inbound http:5985.  thoughts why still failing?  - sherman hi, >> i verified sid returned "wmic group (name='event

Installing Windows Feature - restart pending

i'm trying install windows feature server 2012 r2. it succesful on 4 servers, 2 servers remaining won't install feature. i've tried via powershell , running gui wizard add roles. but fails error restart pending (dismapi_error__failed_reboot_required) i've check numberous forums , check kind of registry settings, pendingfilerename 1 isn't in registry. check pending.xml file, cannot rename (only system account) , found blog post somewhere not recommended change file. also ran sfc /scannow , dism command restorehealth parameters (these commands report in logfiles there reboot pending...). no luck far. any idea how proceed? the feature i'm trying install search-service (which listed available) on 2 remaining rd sh servers don't think feature or role of server important @ problem. just managed install wanted feature on 1 of servers. started cmd elevated permissions in c:\windows run: lodctrl /r if error go c:\windows\syswow64 , run sam

Can't add users to "Shut down the system"

Image
i'm logged in administrator tried running local security policy editor administrator , when go local policies->user rights assignment->shut down system both add , remove greyed out. life of me can't remember how added 4 users in list other using lsp editor. hello, is machine domain member machine? check gpmc , not gpedit. best regards meinolf weber mvp, mcp, mcts microsoft mvp - directory services my blog: http://blogs.msmvps.com/mweber disclaimer: posting provided no warranties or guarantees , confers no rights. twitter:   Windows Server  >  Group Policy

Delete Namespaces Error

Image
hi, following error when trying delete namespace. trying upgrade dfs namespace 2000 server 2008 mode. server dfs installed on server 2008 r2. thank you,  hi  rayman01, maybe check screenshot below. in scenario, there're 2 dfs namespace, \\domainname\company , \\domainname\public . , needed delete, still in adsiedit, delete it. best regards, mary please remember mark replies answers if help. if have feedback technet subscriber support, contact tnmff@microsoft.com . Windows Server  >  File Services and Storage

Can't pull Max Password Age with vbscrip

ok, here's setup.  company has been building new 2012 domain environment.  far, servers in domain 2012. with new domain, have begun testing fine-grained password policies because 1 of functions not on our old domain.  , far, on domain side appear working fine. so comes problem.  because our users using remote-apps connect servers, aren't going notified passwords expiring soon.  enters vbscript. using microsofts instructions, http://msdn.microsoft.com/en-us/library/ms974598.aspx, have been trying script going pop message telling user need change password, i've hit brick wall part of script. set objdomain = getobject("ldap://" & objadsysteminfo.domaindnsname) set objmaxpwdage = objdomain.get("maxpwdage") if objmaxpwdage.lowpart = 0 wscript.echo "the maximum password age set 0 in " & _ "domain. therefore, password not expire." wscript.quit for reason, not pull max password a

Group Policy to clean up Printer mappings

hello i looking advice around clearing printer mappings in group policy.   we had gpo preference in place in 'replace mode' map printers.  this taking long time complete part of gpo extension due number of printers , ilt go through.  i changed method update speed process.   there scenario user accumulate large number of printers not removed when jumping site site.  so there way group policy (don't want script) can run remove printers on weekly basis , start fresh on monday morning?.  i retain default network printer?  in ilt have seen date preference use wondering if may work if create delete each printer on friday.  the problem guess user need logged in on date policy run? any advice great? thanks    > there scenario user accumulate large > number of printers not removed when jumping site > site.  there way group policy (don't want script) > can run remove printers on weekly basis , start fresh on > monday morning?.  re

Creating Servers With Large Amounts of Disk Space

  hi all, i might struggle here point try best. if wanted start online storage business, selling backup people. in sizes of 20gb,50gb, 500gb of online storage per client. i'm going need serious amount of disk space maybe peta or 2 depending on how big go. considering 10-200 users backing @ time (thats alot of hard disk activity) how going cope this. what's best way forward, rent dedicated server? need 2,3 maybe more separate dedicated servers? working in harmony? or need 1 monster server work? i'm looking info possible, not here links don't know i'm searching for. i guessed if have 1 client in uk , have client in us, client doesn't wanted backing data on server in uk , uk client wouldn't wanted server in obvious reasons. guessed storage machines totally separate main admin machine client info on, or wrong. i have been working on backup software in c++ works have server/client comms going (just between 2 pc's @ home) testing, i'm cons

How to equalize the length of document's columns?

hi, i have .docx document contains 2 columns , want make them same length. i.e., @ end of document, both of them ends @ same line . thnaks. aya zoghby you can insert continuous section break @ end of document balance columns. (in word 2007/2010: position insertion point @ end of document; activate page layout tab of ribbon; in page setup group, click breaks > continuous) regards, hans vogelaar Microsoft Office  >  Word IT Pro Discussions

Virtualizacion de entornos con Windows Server 2008 R2

hola todos. la verdad soy novato en asunto de servidores y es mi deseo especializarme en configuracion y soporte para windows server 2008 r2 en mi empresa. quisiera que me colaboraran o  aportaran sobre cual herramienta de virtualizacion, segun su experiencia es la mejor. quiero aprender configurar un bosque de servidores y para esto quiero virtualizarlo. les agradesco sus aportes y colaboracion tambien en cuanto bosques de servidores, como implementarlo?.   gracias.   con windows server 2008 r2 puedes usar hyper-v, gratuito y potente. también puedes usar vmware server o workstation (peor que hyper-v al no estar basado en hypervisor), o esx o esxi (ambos son con hypervisor, esx de pago y esxi gratuito), pero eso ya no es windows server 2008 r2, si no una plataforma propia de vmware. respecto cómo crear bosques, supongo que te refieres active directory; esta es una pregunta enorme nada fácil de responder sin más en un foro, pues hay muchas cosas tener en cuenta (domi

How-to Drag and Drop from a DataGridView to a ListBox

i would like know how can drag data datagridview listbox. see alot of examples dragging files explorer listbox in powershell script, cannot find example drag , drop between 2 powershell objects. i have seen vb examples, cannot translate them powershell (i have never programmed in vb). the code below example, of want. regard, marco #region defineform #define form1 $form1 = new-object system.windows.forms.form $form1.text = "form1" $form1.name = "form1" $form1.databindings.defaultdatasourceupdatemode = 0 $form1.location = new-object system.drawing.point(1,1) $form1.windowstate = "normal" $form1.startposition = "centerscreen" $form1.autosize = $true $form1.autosizemode = "growandshrink" #endregion defineform #region grid1 #define table $datagridview1 = new-object system.windows.forms.datagridview $datagridview1.allowusertoaddrows = $false

invoke-expression problem

i have question using invoke-expression. have script works fine of time. on occasion, command run invoke-expression 'jumps out'. say, runs command in background. example, $com10 = "cmd /c miis_staged_run step 10" $com11 = "cmd /c miis_staged_run step 11" invoke-expression $com10 invoke-expression $com11 i have expected first expression have completed before going on second expression. on occasion (especially if takes long time on 30 minutes) $com11 start running before $com10 has finished. there way ensure first 1 finishes before starting second one? if matters, miis_staged_run .net program. thanks -- dean the code below wil fire cmd.exe , notepad.exe. notepad.exe childprocess of cmd.exe. code below continue if both notepad , cmd.exe have finished. $process = new-object system.diagnostics.process $si = new-object system.diagnostics.processstartinfo $si.filename = "cmd.exe" $si.arguments = "/k start notepad.exe" $process.startinfo =

Will Class vb6 programs run on Windows Server 2008

  i understand classic vb6 ide is no longer supported microsoft run times run on vista throughout life of product, @ least 2012 if undertstand correctly.  question if server 2008 (which, if understand correctly, is based on same technology vista) support vb6 runtimes?   in same vein:  vb.net, microsoft's successor product classic vb6 has feature called interop allows developers migrating new language call activex dlls created in classic vb6 vb.net.  same capability preserved when these applications run on windows server 2008?   thanks in advance.   ken1011     hi there, i understand contacting regarding post after long time, in process of regressing posts in forum , want know if still need assistance on issue. if need further assistance please post back, if not go ahead , mark question answer sainath windows driver development Windows Server

replication error on windows 2012 DC

hi, i have added windows 2012 r2 server (cadpdc1) windows 2003 sp2 dc  (primary dc) , promoted dc. after promote have ran dcdiag , shows errors. each of servers have 3 nics connected different networks. please me expertise since need bring on monday. thank kind regards chamara here dcdiag output of new dc directory server diagnosis performing initial setup:    trying find home server...    home server = cadpdc1    * identified ad forest.    done gathering initial info. doing initial required tests        testing server: default-first-site-name\cadpdc1       starting test: connectivity          error during resolution of hostname cadpdc1.engineer.com through          ipv6 stack.          *** warning: not confirm identity of server in the          directory versus names returned dns servers. hostname          resolution error 0x2af9 "no such host known."          .........................