Posts

Showing posts from February, 2011

Editing Microsoft Excel Files w/ Powershell

so situation have 500 folders each 3 excel files under same 3 names within each folder. 3 excel files names follows. inspection sheet c8 parts sheet b4 time sheet d3 each folder has different name , accomplish move name of folder different cells on excel file. have cell number folder name placed in above next excel file names. appreciated. thank you don't use powershell that.  use vba easier. \_(ツ)_/ Windows Server  >  Windows PowerShell

Confirm save command

hello, i have script: cls [void][system.reflection.assembly]::loadwithpartialname("microsoft.teamfoundation.client") [void][system.reflection.assembly]::loadwithpartialname("microsoft.teamfoundation.build.client") [void][system.reflection.assembly]::loadwithpartialname("microsoft.teamfoundation.build.common") [void][system.reflection.assembly]::loadwithpartialname("microsoft.teamfoundation.workitemtracking.client") $tfscollectionurl = "http://zdev:8080/tfs/dev_test_collection" $teamprojectcollection = [microsoft.teamfoundation.client.tfsteamprojectcollectionfactory]::getteamprojectcollection($tfscollectionurl) write-host "team project collection: "$teamprojectcollection $ws = $teamprojectcollection.getservice([type]"microsoft.teamfoundation.workitemtracking.client.workitemstore") write-host "workitemstore: "$ws $buildserver = $teamprojectcollection.getservice([microsoft.teamfoundation.build.client

Restore compressed file in compressed folder resulted with uncompressed file.

can confirm if restoring compressed file , compressed folder works azure online backup? according our testing, both compressed file , compressed folder became uncompressed after restored online backup. can confirm if restoring compressed file , compressed folder works azure online backup? according our testing, both compressed file , compressed folder became uncompressed after restored online backup. windows ntfs compression (and deduplication) per-volume only. making long story short: when move compressed/deduped file away parent volume (file) re-hydrated (decompressed/deduped).  starwind iscsi san & nas Windows Server  >  Windows Server 2012 General

Windows Folder in User Profile Path

i have windows server 2008 r2 forest exclusively used handful of application services. virtualized environments, , run remote desktop services. on each server, can run various tools such hijackthis or autoruns or when installing new apps, there references c:\users\administrator\windows\system32 files. obviously, these don't exist here... exist in c:\windows\system32. so questions are... why have references user path, , how fix doesn't happen? i've been administering windows server since nt 3.51 days , have never seen happen before, , neither bing nor google turned information on matter. hi,   please first check environment variables in system properties.   if it’s ok, please provide more information:   1.     when did issue start happen? after installing programs? 2.     where see wrong path? 3.     does problem occur on 1 computer?   regards, bruce this posting provided "as is" no warranties, , confers n

introducing new server as replacement

we had 4 servers 2003 standard. 2 running active drectory synced users , 1 of handled dns. 1 main server did ad , dns died. we replacing new 2008 standard server. what need introduce domain, pull on active directory users , groups other ad working server , establish pdc again? not sure first , how.   th.   thanka   bob karon computer solutions www.ineedbob.com you can follow along here on meinolf's pages. http://msmvps.com/blogs/mweber/archive/2010/02/10/upgrading-an-active-directory-domain-from-windows-server-2003-to-windows-server-2008-or-windows-server-2008-r2.aspx   this article describes how can verify adprep has run successfully.   http://technet.microsoft.com/en-us/library/dd464018(ws.10).aspx   worst case can try seizing roles.   using ntdsutil.exe transfer or seize fsmo roles domain controller   http://support.microsoft.com/?id=255504       regards, dave patrick .... microsoft certified professional microsoft mvp [windows

Windows 2008 R2 SP1 Server Manager issue

windows server 2008 r2  standard sp1 server role: - ad - nap after installing sp1 through windows update can not use server manger. after debuging see following problem: system update readiness tool ================================= checking system update readiness. binary version 6.1.7601.21645 package version 11.0 2011-03-15 12:29 checking windows servicing packages checking package manifests , catalogs checking package watchlist (f)    cbs watchlist package missing    0x80070002    microsoft-windows-foundation-package~31bf3856ad364e35~amd64~~0.0.0.0    package_7_for_kb2467023~31bf3856ad364e35~amd64~~6.1.1.1    package registry presence failed, possibly orphaned package on package watchlist checking component watchlist (f)    cbs watchlist component missing    0x80070002    amd64_microsoft-windows-upnpcontrolpoint_31bf3856ad364e35_0.0.0.0_none_b2c7ff753148df7e    package_7_for_kb2467023~31bf3856ad364e35~amd64~~6.1.1.1    package regi

RDPCLIP.exe high mem

hello, we have windows 2008r2 rds farm. sometimes, 2-3 times day, there on server active user rdpclip.exe process using more 4 gb of memory. different user on different server. after killing process session still running , there no error. users working remoteapps on client there no content in clipboard (we have tried paste in word). clients windows xp sp3 , rdp 7. seems http://social.technet.microsoft.com/forums/en-us/winserverts/thread/1a2705cb-1ed7-423e-9ebd-d8ef84df01ec is there way check clipboard content? maybe knows problem? thank you regards marc   hi marc,   according description, understand experiencing issue rdpclip.exe process using more 4 gb of memory.   this issue might occur when there loop in local or remote clipboard viewer chain.   to resolve issue, please have try following actions , let me know results:   ·          kill , restart rdpclip.exe process on remote desktop server. ·          close ts client , reconnect session.

KMS & ADBA & VAMT

hi, i have implement kms on company's network. searching best solution came across adba. still have few windows 7 machines around believe need install both kms , adba. want use vamt also. questions are: is better install kms , adba on different servers or ok if both on same dc? as have few dc (2012 r2 all) on different subnets have install kms on dcs? how install both: adba volume activation services , kms via cmd? install first? is ok if vamt installed on same dc adba? need download adk installation on server 2012 r2? thanks hi roks123, there's article on technet this: http://blogs.technet.com/b/askpfeplat/archive/2013/02/04/active-directory-based-activation-vs-key-management-services.aspx regards, matthijs p.s. don't forget @ comments. there several interesting q&a's there. Windows Server  > 

Problem adding Windows Server Standard 2008 R2 box as a Domain Controller

i'm attempting replace windows server 2003 standard r2 domain controller windows server 2008 standard r2 box. current domain controllers are: windows server 2008 standard r2 (global catalog) (let's call "dc2") windows server 2003 standard r2 (domain controller) (let's call "dc3") i've added active directory domain services role on new windows server 2008 standard r2 box (from on - "dc1"). i've run "adprep /forestprep" command on dc2 , finished correctly. i've attempted run "adprep /domainprep" on dc3 (because it's infrastructure operations manager , because when run "dcpromo" on dc1 demands it) error indicating "adprep.exe" file valid, different machine type. i've considered transferring infrastructure operations manager role dc2, dialog box warns against it. i've 2 active domain controllers , appears can't (shouldn't) transfer infrastructure operations manager

explorer.exe crashes while searching for a file using windows explorer

hi guys, our product creates virtual snapshot of a ntfs based source volume. virtual copy backed sparse files has latest copy of source volume , old changes written retention store. symptom : trying search string on virtual copy using explorer.exe(without indexation enabled) , pop-up separate search window. window crashes exception "stack overflow". reproducible. here are more details. environment : window 2008 r2 sp1 - automatic updates installed upto 1st feb 2012 search operation works on windows 2003 server on virtual copy and command line on windows 2008 r2 sp1 well. looking @ faulting thread's _teb structure. 2 instances of crash dump showing 508kb of stack used out of 512kb maximum. details required further debugging : faulting application name: explorer.exe, version: 6.1.7601.17567, time stamp: 0x4d672ee4 faulting module name: shell32.dll, version: 6.1.7601.17514, time stamp: 0x4ce7c9a6 exception code: 0xc00000fd fault offset: 0x000000000009

How to redirect an active directory authentication ?

Image
hello, first of all, apologize bad english. i have active directory (windows server 2003 r2) , ldap (openldap v3) on linux server. users logins same values in ad (samaccountname=jdoe) , linux ldap (uid=jdoe). but passwords in ldap linux (i cannot synchronize passwords in ad). what must change in ad redirect windows user authentication bind against linux ldap ? 1) user login jdoe/secretpwd  ------ask------> ad -----redirection-------> linux  ldap (real authentication here) 2) authentication answer  <---------------------- ad <-----answer----------- linux  ldap i suggest bind linux active directory using kerberos. way, dealing 1 database, ad database, , there's one-for-one mapping, eliminating complexity. here's more info: unite linux , active directory authentication https://www.linux.com/learn/tutorials/442411-unite-your-linux-and-active-directory-authentication   . for further info on how bind ad, suggest ask in forum supports

TSGateway RD CAP/RAP corrupt

server 2008 r2 running rds & remoteapp, functioning fine until session hung & reset thru rds manager. after reboot of server, user access has been denied "remoteapp disconnected" error msg. the rd cap has no user groups & cannot add user group back, or other group matter. the rd cap & rap have become corrupt, cannot add user group policy. have deleted rap & cap still cannot add user groups on re-creation. is ther way reset rd cap/rap? i came across post while having same issue customers rd gateway, bit late helps else. rename rap.xml @ following location , attempt reconnect local rd gateway. %windir% \system32\tsgateway\rap.xml rebuild rap needed once reconnected thanks, chris harvey thanks, chris harvey Windows Server  >  Remote Desktop Se

Office 2010 File Locked error when opening over a network share

i have several users have intermittent problem. when opening office docs located on network shared drive, receive box stating file locked user. if offers option open read or notify when available. if select noitfy, respond it's available editing. problem intermittent, , doe snot happen everyone. none of files in use anyone. clues? hi   thank using microsoft office professionals forums.   if there has temporary file (~$ filename .doc) in share folder before user open word document, delete file , open word document again. here's how display hidden files , folders. open folder options clicking the  start  button , clicking  control panel , click   appearance , personalization , , click folder options . click the  view  tab. under  advanced settings , click  show hidden files, folders, , drives , uncheck hide protected operating system files (recommended),   and click  ok .   note: under normal conditions, these files clos

New internal CA

i had old internal enterprise ca1 issued computer certificates , domain controller certificates. now installed brand new enterprise ca2 new key etc. i removed certificate templates ca1 , added them ca2 now see clients getting new computer certificates ca2 domain controllers not trying new certificates. am or domain in danger when turn off ca1 ? what best steps can now, cannot use reenroll certificate holders cause computer template i recommend explicitly delete existing certificates dcs , run 'certutil -pulse' on them reenroll certificates. my weblog: http://en-us.sysadmins.lv powershell pki module: http://pspki.codeplex.com windows pki reference: on technet wiki Windows Server  >  Security

Export CSV not writing complete information to file

hi, i'm unable export results follwing code. exporting 1 server information not all. when remove export-csv comdelet showing servers informtion on screen. me out? $computers = get-content -path c:\servernames.txt foreach ($computer in $computers) { if ($computer)     {         $page = get-wmiobject win32_pagefileusage -computername $computer         $page1 = $page.currentusage         $page2 = $page.allocatedbasesize         $page3 = $page.name         $page4 = $page.peakusage                               new-object psobject -property @{             computername = $computer             pagefilecurrentusage = $page1             pagefilesize = $page2             pagefilename = $page3             pagefilepeakusage = $page4                                                   }  | select-object computername,pagefilecurrentusage,pagefilesize,pagefilename,pagefilepeakusage | export-csv  -path  'c:\myresults.csv' -notype

Maintenance of large spanned volumes (defrag, chkdsk etc)

hi forum i have server running windows server 2003 r2 standard. on server have a 6 tb spanned ntfs volume, comprised of 4 dynamic disks, 2 1tb, 2 2tb. bad blocks have been reported on spanned volume/underlying disks. users have reported file corruption on volume. when logging on server, 1 of volumes marked 'offline' in disk management, , volume displayed 'at risk' intermittently. onlining marked offline volume resolves condition, , returns state of volume 'healthy'. i have approximately 11% free disk space. (702gb free) questions: 1. how long (rough ballpark estimate) chkdsk take on volume size? 2. chkdsk run quicker if scheduled run @ restart? 3. chkdsk required, or can use other tools perform online analysis of disk state , mark potential bad blocks bad? 4. bad blocks on 1 of these volumes reason volume being marked offline/at risk? any advice or assistance can on issue appreciated.   regards,   max     hi max,   1

Help in making a GPO that will only allow a few things over a certain port?

what best way go creating gpo allow active directory, dns, group policy, internet, snmp, email on port 25? thanks you cannot want. besides, port 25 used smtp. sure understand ports , in conditions can change them ? can redirect ports, not doing gpo. firewall more appropiate start. " never panic before reboot ! " Windows Server  >  Group Policy

SERVER

i have serve 1 window server 2008 , 1 server 2003 can set up  if 1 server go down  other 1 takeove hi,   as issue related iis, suggest discussing in our iis forum:   http://forums.iis.net/1048.aspx   tim quan Windows Server  >  Migration

Cannot switch to UFR II W2008

hello i using canon printer , want have installed on windows server 2008 std. printer requires ufr ii language instead of pcl6. before migrated 2008, no problem switch ufr ii in printer preferences on our old 2003 server, in 2008, option disabled. please ? thanks jakub hi jakub, thanks post. please refer following link check if printer driver compatible windows server 2008. http://www.windowsservercatalog.com/results.aspx?&chtext=&cstext=&csttext=&chbtext=&bcatid=1326&cpid=330&avc=10&ava=23&avq=0&or=1&pgs=25&ready=0 in addiiton, please first contact canon support check if have installed appropriate driver windows server 2008. hope helps. miles please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread. Windows Server

Question on IIS 7 logs

hi,   i using windows 2008 r2 iis 7 i want log windows id of each person accesses iis server. possible enabling logging on iis 7? or should via app. if yes, such thing possible older version of iis (the 1 w2k3). hello, for iis better use following forum site: http://forums.iis.net/ best regards meinolf weber disclaimer: posting provided "as is" no warranties or guarantees , , confers no rights. Windows Server  >  Windows Server General Forum

Win 2008 R2 Virtual Disk Service reports unexpected failure of 45D@02000018

hello. have win 2008 r2 server experiencing problems virtual disk service. looking @ event viewer's system log see numerous error events virtual disk service. of them following string in them: "unexpected failure. error code: 45d@02000018." strangely, computer management application can see 1 san volume exported server, applications having problems seeing volume. know error code means?   thanks, brian http://msdn.microsoft.com/en-us/library/ff560590.aspx does know error code means? 45d@02000018 getdevicelocation: deviceiocontrol(ioctl_storage_query_property) failed: error_bad_length our suggestion contact san vendor seems presentation of lun or 1 of luns incorrect ketan thakkar | microsoft online community support Windows Server  >  File Services and Storage

Problems with Server 2008 R2 Backup

hi,  server 2008 r2 backup not run, following when loading restore  a fatal error occurred during windows server backup snap-in (wbadmin.msc) operation error details: unknown error (0x80042318) close wbadmin.msc , restart it.  of course need working i have tried restarting several times i have tried running "wbadmin disable backup" command prompt  and still not load ideas can try next  hi tom, for error, refer similar thread below. https://social.technet.microsoft.com/forums/windowsserver/en-us/565a1a5e-af2f-4280-a69f-6f7c5f38ebfd/fatal-error-server-execution-failed?forum=windowsbackup best regards, jay please remember mark replies answers if , un-mark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com. Windows Server  > 

DHCP Option 55 - Bootp devices

  hello all,   i using windows 2003 dhcp service assign boot options device. problem bootloader on device not written correctly (third party device) , not asking dhcp during discover , request packets for option 55 parameter request list (the device needs options 17 , 18 boot correctly)...i know there workaround using dhcp server (incogito) force necessary options device eventhough device not is requesting them in discover , request packets....what wondering there way similar in windows 2003?   thanks in advance...   cheers microsoft dhcp server don't support directly. can write own plugin dhcp server so. more information regarding this.. http://msdn2.microsoft.com/en-us/library/aa363373.aspx http://blogs.msdn.com/anto_rocks/archive/2005/05/24/421353.aspx http://blogs.technet.com/teamdhcp/archive/2007/10/03/dhcp-server-callout-dll-for-mac-address-based-filtering.aspx   thanks -ramasubbu sk

DSC - how to open firewall port for a site in IIS

i've used configuration trying open port i've configured web site     xfirewall firewall     {         name                  = "tailpintoys dev"         displayname           = "firewall rule tailpintoys dev"         displaygroup          = "tailspin"         ensure                = "present"         access                = "allow"         state                 = "enabled"         profile               = ("domain")         direction             = "outbound"         remoteport            = ("11000")         localport             = ("11000")                 protocol              = "tcp"         applicationpath       = "c:\windows\system32\inetsrv\w3wp.exe"         description           = "firewall rule tailpintoys dev"      } i have 2 problem here, first port not seems opened if start-dscconfiguration returns no er

Exporting Hyper-V Secondary domain controller

hello im unable  to migrate vm  2008 standard to 2008r2 standard host ive tried hyper-v manager , through scvmm, there update need apply? error  unable migrate or clone virtual machine software ( 6.1.7601.17514 not match version the  virtual machines virtaulization software on source (6.0.6002.18005) thanks paul  what mean when 'migrate' when referring hyper-v manager?  i'm not aware of migrate command there, unless talking quick migration.  if that's case, yes, running version conflict integration services.  have remove integration services on old host before migrating new , install new on new machine. but, if trying export domain controller, is generally better practice create new domain controller , rid of old one.  reason might want export/import if had lot of stuff running on domain controller other active directory, in , of not considered best practice, though there times when might make sense. if you  want migrate it, simpler copy

Group permissions for specific folders

hi guys ! hope me. here's thing. in company, on server, have folder named "customers folders". inside folder, there folders of customer have (around 700). inside customers folders, there subfolders of our departments, dfi, dpe etc.. we need apply read/write permissions on department subfolders inside customers folders. e.g.: apply permissions dfi group on dfi subfolders inside customers folders, automatically. is possible ? thank you ps: sorry english. not first language this little tricky, made easier if know ahead of time folder names departments be. you'd have use script automate it, , if it's regular thing invest time set up. the below article should give pointer start https://blogs.technet.microsoft.com/heyscriptingguy/2014/11/22/weekend-scripter-use-powershell-to-get-add-and-remove-ntfs-permissions/ i'm not expert on scripting rough idea of logic might go little this: get list of root customer folders array/hashtable - you'l

Microsoft Virtual WiFi Miniport Adapter, How to disable DHCP&DNS?

hi all, i'm using microsoft virtual wifi miniport adapter ics across laptop , phone. don't find way disable default dhcp&dns available ics. i'll runn dual server dhcp&dns () on own. me better control on dhcp leases , dns forwarings along full log. need shutdown default one. possible, because connectify same. need figure out how on own. help?? hello, afaik, there no way disable dhcp allocate or review ip leased ics. ics host provide nat services whole 192.168.0.x subnet (depending on ip subnet of host ), ics clients set static ips not real dhcp server. refer microsoft kb: http://support.microsoft.com/kb/250603 -- ics service 1 implementation of network address translation (nat) windows 2000 uses. ics service automatically sets mini dhcp scope , dns proxy service enable clients on private network use ics , on internet.   -- the dhcp allocator , dns proxy services not configurable in ics , start service enabled. because these services bin

display problems on windows 7

my display display things in stretch mode, no matter "personalize."  major problem i've had far, basic system i'm surprised happening.  don't want see "the pixies" faces spread out wide can't recognize them.  should such basic function.  please explain in non-technical laymans terms rest of can enjoy windows 7.   hi, can find "picture position" in personalization --- desktop backgroud? happens when change selected option? have tried picture? can try change current screen resolution (to larger one) test. and meinolf said, windows 7 related issue, need post question windows 7 forum including ms answer or windows 7 pro if needed. here link windows 7 pro forum: http://social.technet.microsoft.com/forums/en/category/w7itpro Windows Server  > 

Server refuses connection

run 2016 server host software. when starting software clients server refuses connection few times , starts work probably. clients not connected ad instead have credentials.  the server answers ping. tried using both dns name , ip adress resolve this.  what host software?  have contacted vendor of software?  vendor support software on windows server 2016?  maybe vendor has specific configuration requirements. tim Windows Server  >  Windows Server 2016 General

Lock out and unlock of AD accounts

hello gents, is there way find account locked out ? what use that ? i can check dcs 4740 event, needs lot of time. is there simple software or tools (freeware ;) ? all dcs windows 2008. thanks. mcse^3 hello, here link download microsoft account lockout tools software http://www.microsoft.com/downloads/details.aspx?familyid=7af2e69c-91f3-4e63-8629-b999adde0b9e&displaylang=en isaac oben mcitp:ea, mcse Windows Server  >  Security

Event ID 4377 equivalent in 2008R2

Image
hi all, would grateful if share equivalent of event id 4377 in 2008r2 , jus want know has installed patches or hotfix in 2008r2.in 2003 , 2000 have option filter ntservice pack or 4377 events . not there 2008 , please me on this. windowsupdate.log file holds when install patches through windows update , when push patches through sccm or opsware aka hpsa . hp opsware in case. you might more inputs in sccm  and hp opsware forums. in case of sccm, need analyse logs list of log files in configuration manager 2007 troubleshooting sccm part iii ...software updates thanks regards, santosh not represent organisation work for, opinions expressed here own. posting provided "as is" no warranties or guarantees , confers no rights. whenever see helpful reply, click on vote helpful & click on mark answer if post answers question. Windows Server